From 07561aaed2ce7f7ffd7ecfd8ae8b5190cc9893bc Mon Sep 17 00:00:00 2001 From: Vojtech Simetka Date: Tue, 3 May 2022 18:07:37 +0200 Subject: [PATCH] fix: connection health indicator values to reflect the current network conditions (#353) * fix: connection health indicator values to reflect the current network conditions * fix: remove depth check as it seems the depth is always 0 * Revert "fix: remove depth check as it seems the depth is always 0" This reverts commit 363ead8fba9bc79266abdf2d8c3f540d75da5b48. * fix: updated the values according to the bee team advice --- src/utils/threshold.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/threshold.ts b/src/utils/threshold.ts index efce49b..bfdb827 100644 --- a/src/utils/threshold.ts +++ b/src/utils/threshold.ts @@ -1,6 +1,6 @@ -const OPTIMAL_CONNECTED_PEERS = 200 -const OPTIMAL_POPULATION = 100000 -const OPTIMAL_DEPTH = 12 +const OPTIMAL_CONNECTED_PEERS = 100 +const OPTIMAL_POPULATION = 1000 +const OPTIMAL_DEPTH = 4 interface Threshold { minimumValue: number