We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e20f1bb commit d081da9Copy full SHA for d081da9
core/src/client/importer.rs
@@ -305,7 +305,7 @@ impl Importer {
305
306
/// This is triggered by a message coming from a header queue when the header is ready for insertion
307
pub fn import_verified_headers(&self, client: &Client) -> usize {
308
- const MAX_HEADERS_TO_IMPORT: usize = 10_000;
+ const MAX_HEADERS_TO_IMPORT: usize = 1_000;
309
let lock = self.import_lock.lock();
310
let headers = self.header_queue.drain(MAX_HEADERS_TO_IMPORT);
311
self.import_headers(&headers, client, &lock)
0 commit comments