Skip to content

Commit

Permalink
Change offline detection configuration (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
ridenaio authored Aug 22, 2019
1 parent 72a54e7 commit 9ffdb71
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/offline_detection.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ type OfflineDetectionConfig struct {
func GetDefaultOfflineDetectionConfig() *OfflineDetectionConfig {
return &OfflineDetectionConfig{
PersistInterval: 50,
MaxSelfOffline: 12 * time.Hour,
OfflineProposeInterval: 24 * time.Hour,
OfflineVoteInterval: 12 * time.Hour,
IntervalBetweenOfflineRetry: 1 * time.Hour,
MaxSelfOffline: 1 * time.Hour,
OfflineProposeInterval: 1 * time.Hour,
OfflineVoteInterval: 45 * time.Minute,
IntervalBetweenOfflineRetry: 10 * time.Minute,
}
}

0 comments on commit 9ffdb71

Please sign in to comment.