File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -477,10 +477,11 @@ Deleted Redirect Rules will be kept in the DB (with DeleteTimestamp). After this
477477 )
478478 ShutdownWorkerCacheTTL = NewGlobalDurationSetting (
479479 "matching.ShutdownWorkerCacheTTL" ,
480- 60 * time .Second ,
480+ 2 * time .Minute ,
481481 `ShutdownWorkerCacheTTL is the time to live for entries in the shutdown worker cache. When a worker calls
482482 ShutdownWorker, its WorkerInstanceKey is cached for this duration. Any poll arriving with a cached
483- WorkerInstanceKey returns empty immediately, preventing task dispatch to a shutting-down worker.` ,
483+ WorkerInstanceKey returns empty immediately, preventing task dispatch to a shutting-down worker.
484+ This should be longer than MatchingLongPollExpirationInterval (default 1 min) to catch any in-flight polls.` ,
484485 )
485486 ReachabilityBuildIdVisibilityGracePeriod = NewNamespaceDurationSetting (
486487 "matching.wv.ReachabilityBuildIdVisibilityGracePeriod" ,
You can’t perform that action at this time.
0 commit comments