Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
polkadot-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parity
Mirrored projects
polkadot-sdk
Commits
fe36fe85
Commit
fe36fe85
authored
3 years ago
by
Arkadiy Paronyan
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Speedup block import (#10211)
parent
bc938cfb
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
substrate/client/service/src/chain_ops/import_blocks.rs
+2
-2
2 additions, 2 deletions
substrate/client/service/src/chain_ops/import_blocks.rs
with
2 additions
and
2 deletions
substrate/client/service/src/chain_ops/import_blocks.rs
+
2
−
2
View file @
fe36fe85
...
...
@@ -43,10 +43,10 @@ use std::{
};
/// Number of blocks we will add to the queue before waiting for the queue to catch up.
const
MAX_PENDING_BLOCKS
:
u64
=
1_0
24
;
const
MAX_PENDING_BLOCKS
:
u64
=
1
0
_0
00
;
/// Number of milliseconds to wait until next poll.
const
DELAY_TIME
:
u64
=
2
_0
00
;
const
DELAY_TIME
:
u64
=
200
;
/// Number of milliseconds that must have passed between two updates.
const
TIME_BETWEEN_UPDATES
:
u64
=
3_000
;
...
...
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment