From 014215181b44b409fb3f9a2489de7957271554c8 Mon Sep 17 00:00:00 2001 From: Robert Habermeier Date: Fri, 14 Dec 2018 16:37:15 +0100 Subject: [PATCH] wait less time for parachain candidates before releasing a block (#55) --- polkadot/service/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/polkadot/service/src/lib.rs b/polkadot/service/src/lib.rs index f61bd25545..7bc3034588 100644 --- a/polkadot/service/src/lib.rs +++ b/polkadot/service/src/lib.rs @@ -64,7 +64,8 @@ pub use primitives::{Blake2Hasher}; pub use sr_primitives::traits::ProvideRuntimeApi; pub use chain_spec::ChainSpec; -const PARACHAIN_EMPTY_DURATION: Duration = Duration::from_secs(4); +// wait 1.5 seconds for parachain candidates before releasing a block. +const PARACHAIN_EMPTY_DURATION: Duration = Duration::from_millis(1500); /// All configuration for the polkadot node. pub type Configuration = FactoryFullConfiguration;