From 9b877fae2dffc7721e70e7f7457c96e3570c379e Mon Sep 17 00:00:00 2001 From: Alfred Landrum Date: Tue, 22 Aug 2023 10:11:13 -0700 Subject: [PATCH] increase max allowed shard linger limit (#4790) **What changed?** This increases the maximum allowed shard linger time limit. **Why?** A larger time limit may be needed for very large clusters. **How did you test it?** **Potential risks** None. **Is hotfix candidate?** --- service/history/shard/controller_impl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/history/shard/controller_impl.go b/service/history/shard/controller_impl.go index 8f677647598..76bb6c462fd 100644 --- a/service/history/shard/controller_impl.go +++ b/service/history/shard/controller_impl.go @@ -50,7 +50,7 @@ import ( ) const ( - shardLingerMaxTimeLimit = 5 * time.Second + shardLingerMaxTimeLimit = 1 * time.Minute ) var (