chore(standby): minor changes based on comments

This commit is contained in:
Yicheng Qin
2014-05-09 15:38:03 -07:00
parent c6b1a738c3
commit 5367c1c998
7 changed files with 23 additions and 24 deletions

View File

@@ -11,10 +11,10 @@ const (
// MinActiveSize is the minimum active size allowed.
MinActiveSize = 3
// DefaultRemoveDelay is the default elapsed time before promotion.
// DefaultRemoveDelay is the default elapsed time before removal.
DefaultRemoveDelay = int((30 * time.Minute) / time.Second)
// MinRemoveDelay is the minimum promote delay allowed.
// MinRemoveDelay is the minimum remove delay allowed.
MinRemoveDelay = int((2 * time.Second) / time.Second)
// DefaultSyncInterval is the default interval for cluster sync.