-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: ethrpc: Don't lock up when eth subscriber goes away #10485
Conversation
go.mod
Outdated
@@ -319,6 +320,7 @@ require ( | |||
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect | |||
github.com/zondax/hid v0.9.1 // indirect | |||
github.com/zondax/ledger-go v0.12.1 // indirect | |||
github.com/zyedidia/generic v1.2.1 // indirect |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a very small library with a bunch of very nice generic helpers. Wanted to use it since forever, finally got a quality excuse.
|
||
for _, f := range e.filters { | ||
// note: the context in actually unused in uninstallFilter | ||
if err := e.uninstallFilter(context.TODO(), f); err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
double checking: these don't take long and won't hang node shutdown right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct
Looking good Magik!! I've tested across three stack restarts and 8 Boost restarts and have been able to start every time!! |
Related Issues
Fixes #10484
Brings in filecoin-project/go-jsonrpc#98
Proposed Changes
Additional Info
Checklist
Before you mark the PR ready for review, please make sure that:
<PR type>: <area>: <change being made>
fix: mempool: Introduce a cache for valid signatures
PR type
: fix, feat, build, chore, ci, docs, perf, refactor, revert, style, testarea
, e.g. api, chain, state, market, mempool, multisig, networking, paych, proving, sealing, wallet, deps