Notify telemetry only every second about the tx pool status (#6605)
Before this was done for every imported transaction. When a lot of
transactions got imported, the import notification channel was filled.
The underlying problem was that the `status` call is read locking the
`validated_pool` which will be write locked by the internal submitting
logic. Thus, the submitting and status reading was interferring which
each other.
---------
Co-authored-by:
GitHub Action <action@github.com>
parent
08ec8cdb
Showing
- Cargo.lock 1 addition, 0 deletionsCargo.lock
- cumulus/client/service/Cargo.toml 1 addition, 0 deletionscumulus/client/service/Cargo.toml
- prdoc/pr_6605.prdoc 10 additions, 0 deletionsprdoc/pr_6605.prdoc
- substrate/client/service/src/builder.rs 41 additions, 17 deletionssubstrate/client/service/src/builder.rs
Please register or sign in to comment