fix: use txpool.lifetime in pool maintainer correctly (#14823)

This commit is contained in:
Muhammed Kadir Yücel
2025-03-04 16:05:07 +03:00
committed by GitHub
parent 08a7c52c25
commit 060f0b1bbb
3 changed files with 12 additions and 3 deletions

View File

@@ -572,7 +572,10 @@ where
pool.clone(),
chain_events,
ctx.task_executor().clone(),
Default::default(),
reth_transaction_pool::maintain::MaintainPoolConfig {
max_tx_lifetime: pool.config().max_queued_lifetime,
..Default::default()
},
),
);
debug!(target: "reth::cli", "Spawned txpool maintenance task");