From be9019a45f6c1aebbd1f27774501c71e7b00ac96 Mon Sep 17 00:00:00 2001 From: librelois <c@elo.tf> Date: Fri, 7 May 2021 18:51:08 +0200 Subject: [PATCH] fix(sync): allow more fail requests --- app/modules/crawler/lib/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/crawler/lib/constants.ts b/app/modules/crawler/lib/constants.ts index 1887af52f..1447e9420 100644 --- a/app/modules/crawler/lib/constants.ts +++ b/app/modules/crawler/lib/constants.ts @@ -32,7 +32,7 @@ export const CrawlerConstants = { TEST_PEERS_INTERVAL: 10, // In seconds SYNC_PEERS_INTERVAL: 3, // Every 3 block average generation time SYNC_CHUNKS_IN_ADVANCE: 10, // We want to have that much chunks in advance when syncing - SYNC_MAX_FAIL_NO_NODE_FOUND: 20, + SYNC_MAX_FAIL_NO_NODE_FOUND: 50, DURATIONS: { TEN_SECONDS: 10, -- GitLab