mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 04:41:02 +00:00
Make some txpool logs a bit more compact (#1995)
* Improve logging for transaction pool. * Change Debug in node-template runtime. * Fix hexdisplay. * Add some additional logging. * Rebuild wasm
This commit is contained in:
@@ -176,6 +176,8 @@ impl<B: ChainApi> Pool<B> {
|
||||
let ready_limit = &self.options.ready;
|
||||
let future_limit = &self.options.future;
|
||||
|
||||
debug!(target: "txpool", "Pool Status: {:?}", status);
|
||||
|
||||
if ready_limit.is_exceeded(status.ready, status.ready_bytes)
|
||||
|| future_limit.is_exceeded(status.future, status.future_bytes) {
|
||||
// clean up the pool
|
||||
|
||||
Reference in New Issue
Block a user