mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Bump start interval for cleanup check
Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
@@ -1564,7 +1564,7 @@ func (o *consumer) deleteNotActive() {
|
||||
// Don't think this needs to be a monitored go routine.
|
||||
go func() {
|
||||
const (
|
||||
startInterval = 5 * time.Second
|
||||
startInterval = 30 * time.Second
|
||||
maxInterval = 5 * time.Minute
|
||||
)
|
||||
jitter := time.Duration(rand.Int63n(int64(startInterval)))
|
||||
|
||||
Reference in New Issue
Block a user