Skip to content

Commit

Permalink
server: added new variables to gossiper config
Browse files Browse the repository at this point in the history
  • Loading branch information
John Griffith committed May 23, 2019
1 parent cf2885d commit f6058b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,8 @@ func newServer(listenAddrs []net.Addr, chanDB *channeldb.DB, cc *chainControl,
RotateTicker: ticker.New(discovery.DefaultSyncerRotationInterval),
HistoricalSyncTicker: ticker.New(cfg.HistoricalSyncInterval),
NumActiveSyncers: cfg.NumGraphSyncPeers,
MinimumBatchSize: 10,
SubBatchDelay: time.Second * 5,
},
s.identityPriv.PubKey(),
)
Expand Down

0 comments on commit f6058b4

Please sign in to comment.