Skip to content
Snippets Groups Projects
Commit 0d82218c authored by Xinyuv's avatar Xinyuv
Browse files

rua

parent 055387a6
No related branches found
No related tags found
No related merge requests found
...@@ -374,7 +374,7 @@ func runSpout() { ...@@ -374,7 +374,7 @@ func runSpout() {
fmt.Println("New job started running...") fmt.Println("New job started running...")
scanner := bufio.NewScanner(file) scanner := bufio.NewScanner(file)
for scanner.Scan() { for scanner.Scan() {
time.Sleep(shared.CraneSpoutInterval) // time.Sleep(shared.CraneSpoutInterval)
// activeListMux.Lock() // activeListMux.Lock()
// fmt.Println(activeList) // fmt.Println(activeList)
// activeListMux.Unlock() // activeListMux.Unlock()
......
...@@ -44,7 +44,7 @@ const NumFileReplicas = 4 ...@@ -44,7 +44,7 @@ const NumFileReplicas = 4
// How long to wait to get the membership list from the introducer // How long to wait to get the membership list from the introducer
const IntroducerTimeout = 3 * time.Second const IntroducerTimeout = 3 * time.Second
const GrepTimeout = 5 * time.Second const GrepTimeout = 5 * time.Second
const ACKTimeout = 6000 * time.Millisecond const ACKTimeout = 4000 * time.Millisecond
const PingInterval = 6000 * time.Millisecond const PingInterval = 6000 * time.Millisecond
// Simulate false positives by dropping packets before they are sent out // Simulate false positives by dropping packets before they are sent out
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment