From 3a4aba463b4e1c3c48980edaba4ad092ec6c2f23 Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Wed, 19 Jun 2019 19:44:12 -0700 Subject: [PATCH] routing+watchtower/wtclient: prints stats once per minute --- routing/router.go | 2 +- watchtower/wtclient/client.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/routing/router.go b/routing/router.go index b7a5402d..388f5ba0 100644 --- a/routing/router.go +++ b/routing/router.go @@ -42,7 +42,7 @@ const ( // defaultStatInterval governs how often the router will log non-empty // stats related to processing new channels, updates, or node // announcements. - defaultStatInterval = 30 * time.Second + defaultStatInterval = time.Minute ) var ( diff --git a/watchtower/wtclient/client.go b/watchtower/wtclient/client.go index 09bb5484..c2691ad4 100644 --- a/watchtower/wtclient/client.go +++ b/watchtower/wtclient/client.go @@ -28,7 +28,7 @@ const ( // DefaultStatInterval specifies the default interval between logging // metrics about the client's operation. - DefaultStatInterval = 30 * time.Second + DefaultStatInterval = time.Minute // DefaultForceQuitDelay specifies the default duration after which the // client should abandon any pending updates or session negotiations