Skip to content

Commit 0520a1b

Browse files
authored
Yx/exclude health (#8599)
## What changed? Exclude long poll API from health check signal ## Why? Long poll APIs has higher latency which could be a noise single to health check ## How did you test it? - [x] built - [ ] run locally and tested manually - [ ] covered by existing tests - [ ] added new unit test(s) - [ ] added new functional test(s)
1 parent 3237690 commit 0520a1b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

common/rpc/interceptor/health_check.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,11 @@ type (
4242
)
4343

4444
var excludedAPIsForHealthSignal = map[string]struct{}{
45-
"DeepHealthCheck": {},
46-
"PollMutableState": {},
47-
"PollWorkflowExecutionUpdate": {},
45+
"DeepHealthCheck": {},
46+
"PollMutableState": {},
47+
"PollWorkflowExecutionUpdate": {},
48+
"PollWorkflowExecutionHistory": {},
49+
"UpdateWorkflowExecution": {},
4850
}
4951
var getWorkflowExecutionHistoryAPI = "GetWorkflowExecutionHistory"
5052

0 commit comments

Comments
 (0)