From f0ac49b8f029a115841e8e6a567e19fa2a51882a Mon Sep 17 00:00:00 2001 From: Denis Kirillov Date: Wed, 11 Jan 2023 15:53:02 +0300 Subject: [PATCH] [TrueCloudLab#6] pool: Decrease rebalanceInterval Set default rebalance interval to 15s Signed-off-by: Denis Kirillov --- pool/pool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pool/pool.go b/pool/pool.go index 887abc8a..5c60fccf 100644 --- a/pool/pool.go +++ b/pool/pool.go @@ -1556,7 +1556,7 @@ const ( defaultSessionTokenExpirationDuration = 100 // in blocks defaultErrorThreshold = 100 - defaultRebalanceInterval = 25 * time.Second + defaultRebalanceInterval = 15 * time.Second defaultHealthcheckTimeout = 4 * time.Second defaultDialTimeout = 5 * time.Second defaultStreamTimeout = 10 * time.Second