reduced number of blocksync threads to 2

This commit is contained in:
Akinwale Ariwodola 2017-08-25 16:16:39 +01:00
parent 31bddb6394
commit 5acd8f6039

View file

@ -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 = [];