multi: add debug logs to catch slow shutdown

This commit is contained in:
yyforyongyu
2023-09-08 02:16:42 +08:00
committed by Olaoluwa Osuntokun
parent ba007d9373
commit 66b8700c0b
24 changed files with 59 additions and 23 deletions

View File

@@ -132,7 +132,8 @@ func (b *BitcoindNotifier) Stop() error {
return nil
}
chainntnfs.Log.Info("bitcoind notifier shutting down")
chainntnfs.Log.Info("bitcoind notifier shutting down...")
defer chainntnfs.Log.Debug("bitcoind notifier shutdown complete")
// Shutdown the rpc client, this gracefully disconnects from bitcoind,
// and cleans up all related resources.