From 33167b05e7096ceab3441d8624ca7f2b9cd77507 Mon Sep 17 00:00:00 2001
From: Mirari <zf4@illinois.edu>
Date: Mon, 3 Dec 2018 00:27:35 -0600
Subject: [PATCH] debug

---
 src/shared/shared.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/shared/shared.go b/src/shared/shared.go
index 5f8c229..9777bb6 100644
--- a/src/shared/shared.go
+++ b/src/shared/shared.go
@@ -25,7 +25,7 @@ const CraneServerWorkerPort = 6325
 const CraneServerBackupPort = 6326
 const CraneWorkerPort = 12450
 const CraneDataCollectionPort = 12451
-const CraneSpoutInterval = 100 * time.Millisecond
+const CraneSpoutInterval = 2 * time.Second
 const CraneTimeoutInterval = 3 * time.Second
 
 var CraneClientServNum int
@@ -44,8 +44,8 @@ const NumFileReplicas = 4
 // How long to wait to get the membership list from the introducer
 const IntroducerTimeout = 3 * time.Second
 const GrepTimeout = 5 * time.Second
-const ACKTimeout = 5000 * time.Millisecond
-const PingInterval = 10000 * time.Millisecond
+const ACKTimeout = 1500 * time.Millisecond
+const PingInterval = 3000 * time.Millisecond
 
 // Simulate false positives by dropping packets before they are sent out
 const FalsePosChance = 0.0
-- 
GitLab