discovery: increase DefaultHistoricalSyncInterval to one hour

Assuming a graph size of 50,000 channels, an interval of 20 minutes
would cause nodes to consume about 600MB per month in bandwidth doing
these routine historical sync spot checks. In this commit, we increase
to one hour, which consumes about 300MB per month.
This commit is contained in:
Wilmer Paulino 2019-04-10 19:31:48 -07:00 committed by Olaoluwa Osuntokun
parent be727ab0be
commit 4bb4b0fe4e

@ -21,7 +21,7 @@ const (
// DefaultHistoricalSyncInterval is the default interval in which we'll
// force a historical sync to ensure we have as much of the public
// network as possible.
DefaultHistoricalSyncInterval = 20 * time.Minute
DefaultHistoricalSyncInterval = time.Hour
// DefaultActiveSyncerTimeout is the default timeout interval in which
// we'll wait until an active syncer has completed its state machine and