mirror of
https://github.com/status-im/status-go.git
synced 2025-02-04 02:44:42 +00:00
Dmitry Shulyak
d32cd18c09
Fix channel subscriber that was blocking sending new requests (#1465)
In RequestMessagesSync subscriber is listening to a feed where all whisper events are posted. After we received event with a request hash - subscriber will stop actively consuming messages from a feed, as a subscription channel will get overflow and whole feed will get blocked. Some events are posted to a feed before request is sent, so blocked feed results in blocked sending. Now we will unsubscribe after relevant event was received, and terminate subscriber explicitly by timeout.
Status bindings for go-ethereum
Docs
- How to Build
- How to Contribute
- How to Release
- How to run a Bootnode
- How to run a Mailserver
- How to configure status-go
License
Description
Languages
Go
98.6%
Python
0.7%
Shell
0.4%
Makefile
0.1%
Groovy
0.1%