fix: splitstore: Don't deadlock in mpool protector

This commit is contained in:
Łukasz Magiera
2022-12-17 13:14:50 +01:00
parent 1dee884358
commit 156ba420c3
2 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ func MessagePool(lc fx.Lifecycle, mctx helpers.MetricsCtx, us stmgr.UpgradeSched
return mp.Close()
},
})
protector.AddProtector(mp.ForEachPendingMessage)
protector.AddProtector(mp.TryForEachPendingMessage)
return mp, nil
}