multi: add debug logs to catch slow shutdown
This commit is contained in:
1 parent
ba007d9373
commit
66b8700c0b
24 files changed
+59
-23
No files matched your search
@@ -174,6 +174,8 @@ func (m *MempoolNotifier) ProcessRelevantSpendTx(tx *btcutil.Tx) {
|
||||
// TearDown stops the notifier and cleans up resources.
|
||||
func (m *MempoolNotifier) TearDown() {
|
||||
Log.Infof("Stopping mempool notifier")
|
||||
defer Log.Debug("mempool notifier stopped")
|
||||
|
||||
close(m.quit)
|
||||
m.wg.Wait()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user