From b1f21cc323ac1096b259c9326e4ce1203712aac5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caner=20=C3=87=C4=B1dam?= Date: Fri, 17 Nov 2023 20:42:55 +0300 Subject: [PATCH] switch back to old thresholds --- protocol/settings/chain.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/protocol/settings/chain.go b/protocol/settings/chain.go index 1c3d2e03..8c64d91c 100644 --- a/protocol/settings/chain.go +++ b/protocol/settings/chain.go @@ -33,7 +33,7 @@ var allChainSettings = []ChainSettings{ EnableTrace: true, JsonRpcRateLimiting: defaultRateLimiting, InspectionInterval: 50, - BlockThreshold: 4, + BlockThreshold: 20, JSONRPCRetryIntervalSeconds: 8, }, { @@ -42,7 +42,7 @@ var allChainSettings = []ChainSettings{ EnableTrace: false, JsonRpcRateLimiting: defaultRateLimiting, InspectionInterval: 100, - BlockThreshold: 10, + BlockThreshold: 100, JSONRPCRetryIntervalSeconds: 4, }, { @@ -51,7 +51,7 @@ var allChainSettings = []ChainSettings{ EnableTrace: false, JsonRpcRateLimiting: defaultRateLimiting, InspectionInterval: 250, - BlockThreshold: 10, + BlockThreshold: 50, JSONRPCRetryIntervalSeconds: 4, }, { @@ -60,7 +60,7 @@ var allChainSettings = []ChainSettings{ EnableTrace: false, JsonRpcRateLimiting: defaultRateLimiting, InspectionInterval: 70, - BlockThreshold: 10, + BlockThreshold: 70, JSONRPCRetryIntervalSeconds: 4, }, { @@ -69,7 +69,7 @@ var allChainSettings = []ChainSettings{ EnableTrace: true, JsonRpcRateLimiting: defaultRateLimiting, InspectionInterval: 750, - BlockThreshold: 10, + BlockThreshold: 100, JSONRPCRetryIntervalSeconds: 4, }, { @@ -78,7 +78,7 @@ var allChainSettings = []ChainSettings{ EnableTrace: false, JsonRpcRateLimiting: defaultRateLimiting, InspectionInterval: 1500, - BlockThreshold: 20, + BlockThreshold: 1200, JSONRPCRetryIntervalSeconds: 4, }, { @@ -87,7 +87,7 @@ var allChainSettings = []ChainSettings{ EnableTrace: false, JsonRpcRateLimiting: defaultRateLimiting, InspectionInterval: 350, - BlockThreshold: 10, + BlockThreshold: 70, JSONRPCRetryIntervalSeconds: 4, }, }