Skip to content

Commit

Permalink
change sleep on idle from 20 ms to 200 ms
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulSnow committed Feb 4, 2017
1 parent 40b2e18 commit e904a96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion state/validation.go
Expand Up @@ -55,7 +55,7 @@ func (state *State) ValidatorLoop() {
state.JournalMessage(msg)
break loop
default: // No messages? Sleep for a bit
time.Sleep(20 * time.Millisecond)
time.Sleep(200 * time.Millisecond)
}
}

Expand Down

0 comments on commit e904a96

Please sign in to comment.