paritytech / polkadot-sdk

The Parity Polkadot Blockchain SDK
https://polkadot.com/
1.91k stars 704 forks source link

Notify telemetry only every second about the tx pool status #6605

Open bkchr opened 14 hours ago

bkchr commented 14 hours ago

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.

michalkucharczyk commented 5 hours ago

for the record: https://github.com/paritytech/polkadot-sdk/issues/6600#issuecomment-2493054558

bkchr commented 5 hours ago

/cmd prdoc --audience node_operator --bump patch