Merge pull request #3225 from cfromknecht/relax-stat-tickers

routing+watchtower/wtclient: prints stats once per minute
This commit is contained in:
Olaoluwa Osuntokun 2019-06-19 22:39:48 -07:00 committed by GitHub
commit 4247ee20b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

@ -42,7 +42,7 @@ const (
// defaultStatInterval governs how often the router will log non-empty // defaultStatInterval governs how often the router will log non-empty
// stats related to processing new channels, updates, or node // stats related to processing new channels, updates, or node
// announcements. // announcements.
defaultStatInterval = 30 * time.Second defaultStatInterval = time.Minute
) )
var ( var (

@ -28,7 +28,7 @@ const (
// DefaultStatInterval specifies the default interval between logging // DefaultStatInterval specifies the default interval between logging
// metrics about the client's operation. // metrics about the client's operation.
DefaultStatInterval = 30 * time.Second DefaultStatInterval = time.Minute
// DefaultForceQuitDelay specifies the default duration after which the // DefaultForceQuitDelay specifies the default duration after which the
// client should abandon any pending updates or session negotiations // client should abandon any pending updates or session negotiations