Skip to content

Commit 13ecbf7

Browse files
authored
Set system.numConsecutiveWorkflowTaskProblemsToTriggerSearchAttribute to 5 (#8677)
## What changed? Set `system.numConsecutiveWorkflowTaskProblemsToTriggerSearchAttribute` to 5 by default following full rollout. ## Why? validated in latest rollout ## How did you test it? - [ ] built - [ ] run locally and tested manually - [ ] covered by existing tests - [ ] added new unit test(s) - [ ] added new functional test(s) ## Potential risks No, this has already been rolled out
1 parent a288d1e commit 13ecbf7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

common/dynamicconfig/constants.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,9 +295,9 @@ operator API calls (highest priority). Should be >0.0 and <= 1.0 (defaults to 20
295295

296296
NumConsecutiveWorkflowTaskProblemsToTriggerSearchAttribute = NewNamespaceIntSetting(
297297
"system.numConsecutiveWorkflowTaskProblemsToTriggerSearchAttribute",
298-
0,
298+
5,
299299
`NumConsecutiveWorkflowTaskProblemsToTriggerSearchAttribute is the number of consecutive workflow task problems to trigger the TemporalReportedProblems search attribute.
300-
Setting this to 0 (the default) prevents the search attribute from being set when a problem is detected, and unset when the problem is resolved.`,
300+
Setting this to 0 prevents the search attribute from being set when a problem is detected, and unset when the problem is resolved.`,
301301
)
302302

303303
// keys for size limit

service/frontend/namespace_handler_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ func (s *namespaceHandlerCommonSuite) TestCapabilities() {
382382
s.True(resp.NamespaceInfo.Capabilities.EagerWorkflowStart)
383383
s.True(resp.NamespaceInfo.Capabilities.SyncUpdate)
384384
s.True(resp.NamespaceInfo.Capabilities.AsyncUpdate)
385-
s.False(resp.NamespaceInfo.Capabilities.ReportedProblemsSearchAttribute)
385+
s.True(resp.NamespaceInfo.Capabilities.ReportedProblemsSearchAttribute)
386386
s.True(resp.NamespaceInfo.Capabilities.WorkerHeartbeats)
387387

388388
// Second call: Override the default value of dynamic configs.

0 commit comments

Comments
 (0)