reduced number of blocksync threads to 2
This commit is contained in:
parent
31bddb6394
commit
5acd8f6039
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class BlockStuff {
|
|||
$stmt->execute([]);
|
||||
$max_block = $stmt->fetch(PDO::FETCH_OBJ);
|
||||
if ($max_block) {
|
||||
$chunk_limit = 10;
|
||||
$chunk_limit = 2;
|
||||
$curr_height = 0;
|
||||
$chunks = floor($max_block->Height / $chunk_limit);
|
||||
$threads = [];
|
||||
|
|
Loading…
Reference in a new issue