Skip to content

Commit

Permalink
increase max allowed shard linger limit (#4790)
Browse files Browse the repository at this point in the history
<!-- Describe what has changed in this PR -->
**What changed?**
This increases the maximum allowed shard linger time limit.

<!-- Tell your future self why have you made these changes -->
**Why?**
A larger time limit may be needed for very large clusters.

<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
**How did you test it?**


<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
**Potential risks**
None.

<!-- Is this PR a hotfix candidate or require that a notification be
sent to the broader community? (Yes/No) -->
**Is hotfix candidate?**
  • Loading branch information
alfred-landrum authored and rodrigozhou committed Sep 5, 2023
1 parent c73430b commit 9b877fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/history/shard/controller_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ import (
)

const (
shardLingerMaxTimeLimit = 5 * time.Second
shardLingerMaxTimeLimit = 1 * time.Minute
)

var (
Expand Down

0 comments on commit 9b877fa

Please sign in to comment.