mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 10:31:04 +00:00
small improvements for parachains consensus (#2040)
* introduce a waiting period before selecting candidates and bitfields * add network_bridge=debug tracing for rep * change to 2.5s timeout in proposer * pass timeout to proposer * move timeout back to provisioner * grumbles * Update node/core/provisioner/src/lib.rs * Fix nitpicks * Fix bug Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
committed by
GitHub
parent
0f4395fc44
commit
414acdfc54
@@ -37,7 +37,7 @@ use prometheus_endpoint::Registry as PrometheusRegistry;
|
||||
use std::{fmt, pin::Pin, sync::Arc, time};
|
||||
|
||||
/// How long proposal can take before we give up and err out
|
||||
const PROPOSE_TIMEOUT: core::time::Duration = core::time::Duration::from_secs(2);
|
||||
const PROPOSE_TIMEOUT: core::time::Duration = core::time::Duration::from_millis(2500);
|
||||
|
||||
/// Custom Proposer factory for Polkadot
|
||||
pub struct ProposerFactory<TxPool, Backend, Client> {
|
||||
|
||||
Reference in New Issue
Block a user