From fb284fed4c899222dee8d95055634eeea44dbed7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caner=20=C3=87=C4=B1dam?= Date: Fri, 10 Nov 2023 00:22:58 +0300 Subject: [PATCH] readjust thresholds --- protocol/settings/chain.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/protocol/settings/chain.go b/protocol/settings/chain.go index 7b706ffb..1c3d2e03 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: 8, + BlockThreshold: 4, JSONRPCRetryIntervalSeconds: 8, }, { @@ -51,7 +51,7 @@ var allChainSettings = []ChainSettings{ EnableTrace: false, JsonRpcRateLimiting: defaultRateLimiting, InspectionInterval: 250, - BlockThreshold: 20, + BlockThreshold: 10, JSONRPCRetryIntervalSeconds: 4, }, { @@ -60,7 +60,7 @@ var allChainSettings = []ChainSettings{ EnableTrace: false, JsonRpcRateLimiting: defaultRateLimiting, InspectionInterval: 70, - BlockThreshold: 30, + BlockThreshold: 10, JSONRPCRetryIntervalSeconds: 4, }, { @@ -69,7 +69,7 @@ var allChainSettings = []ChainSettings{ EnableTrace: true, JsonRpcRateLimiting: defaultRateLimiting, InspectionInterval: 750, - BlockThreshold: 37, + BlockThreshold: 10, JSONRPCRetryIntervalSeconds: 4, }, { @@ -78,7 +78,7 @@ var allChainSettings = []ChainSettings{ EnableTrace: false, JsonRpcRateLimiting: defaultRateLimiting, InspectionInterval: 1500, - BlockThreshold: 80, + BlockThreshold: 20, JSONRPCRetryIntervalSeconds: 4, }, { @@ -87,7 +87,7 @@ var allChainSettings = []ChainSettings{ EnableTrace: false, JsonRpcRateLimiting: defaultRateLimiting, InspectionInterval: 350, - BlockThreshold: 32, + BlockThreshold: 10, JSONRPCRetryIntervalSeconds: 4, }, }