Skip to content
This repository has been archived by the owner on Nov 12, 2021. It is now read-only.

Operator: Improve async handling of wire messages #72

Open
sebastianst opened this issue Dec 15, 2020 · 0 comments
Open

Operator: Improve async handling of wire messages #72

sebastianst opened this issue Dec 15, 2020 · 0 comments

Comments

@sebastianst
Copy link
Contributor

When a sendTx message is received, it is handled in a go routine as to not block the message handler loop.

However, this could lead to an accumulation of go routines if many thousands txs are cached. So it would be better to just cache the requests and then send the replies once the new epoch starts.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant