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

@@ -275,7 +275,8 @@ func (i *InvoiceRegistry) Start() error {
// Stop signals the registry for a graceful shutdown.
func (i *InvoiceRegistry) Stop() error {
log.Info("InvoiceRegistry shutting down")
log.Info("InvoiceRegistry shutting down...")
defer log.Debug("InvoiceRegistry shutdown complete")
i.expiryWatcher.Stop()