From 5acd8f603910aa759c2e35ef217fd69b85200a8a Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Fri, 25 Aug 2017 16:16:39 +0100 Subject: [PATCH] reduced number of blocksync threads to 2 --- cron/blockstuff.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron/blockstuff.php b/cron/blockstuff.php index 6fa78cf..e9ef3d1 100644 --- a/cron/blockstuff.php +++ b/cron/blockstuff.php @@ -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 = [];