diff --git a/src/shared/shared.go b/src/shared/shared.go index 5f8c229ca8450a3f93eae747d73dab44fe9ee8c7..9777bb6953e24b46d12925a0ccedc12a7c1c3e90 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