chore(server): set DefaultRemoveDelay to 30mins

Its value was 5s before, which could remove the node insanely fast.
This commit is contained in:
Yicheng Qin
2014-06-06 16:57:35 -07:00
parent 79c650d900
commit ed58193ebe
2 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ const (
MinActiveSize = 3
// DefaultRemoveDelay is the default elapsed time before removal.
DefaultRemoveDelay = float64((5 * time.Second) / time.Second)
DefaultRemoveDelay = float64((30 * time.Minute) / time.Second)
// MinRemoveDelay is the minimum remove delay allowed.
MinRemoveDelay = float64((2 * time.Second) / time.Second)