wait less time for parachain candidates before releasing a block (#55)

This commit is contained in:
Robert Habermeier
2018-12-14 16:37:15 +01:00
committed by GitHub
parent 81bc154cb5
commit 014215181b
+2 -1
View File
@@ -64,7 +64,8 @@ pub use primitives::{Blake2Hasher};
pub use sr_primitives::traits::ProvideRuntimeApi; pub use sr_primitives::traits::ProvideRuntimeApi;
pub use chain_spec::ChainSpec; 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. /// All configuration for the polkadot node.
pub type Configuration = FactoryFullConfiguration<Factory>; pub type Configuration = FactoryFullConfiguration<Factory>;