Skip to content

Commit 7f48823

Browse files
authored
Add ResourceExhaustedCause for namespace operations (#562)
**What changed?** Added a new ResourceExhaustedCause RESOURCE_EXHAUSTED_CAUSE_OPERATIONS_RATE_LIMIT. **Why?** We are introducing a new namespace operations rate limit which can throttle frontendRPS, poll requests and history tasks. That rate limiter will return this cause. **Breaking changes** No
1 parent 92cb47b commit 7f48823

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

temporal/api/enums/v1/failed_cause.proto

+2
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ enum ResourceExhaustedCause {
141141
RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_STORAGE_LIMIT = 7;
142142
// Circuit breaker is open/half-open.
143143
RESOURCE_EXHAUSTED_CAUSE_CIRCUIT_BREAKER_OPEN = 8;
144+
// Namespace exceeds operations rate limit.
145+
RESOURCE_EXHAUSTED_CAUSE_OPS_LIMIT = 9;
144146
}
145147

146148
enum ResourceExhaustedScope {

0 commit comments

Comments
 (0)