Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
2b8f1758
Unverified
Commit
2b8f1758
authored
Dec 14, 2018
by
asynchronous rob
Committed by
GitHub
Dec 14, 2018
Browse files
wait less time for parachain candidates before releasing a block (#55)
parent
f1c180a0
Pipeline
#27164
passed with stages
in 15 minutes and 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
service/src/lib.rs
View file @
2b8f1758
...
...
@@ -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
<
Factory
>
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment