Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed usage of RatelimitExternal/InternalPerWorkflowID #6567

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

arzonus
Copy link
Contributor

@arzonus arzonus commented Dec 18, 2024

What changed?
Set initialization of workflowcache to appropriate properties WorkflowIDExternalRateLimitEnabled and WorkflowIDInternalRateLimitEnabled

Why?
WorkflowIDCacheExternalEnabled and WorkflowIDCacheInternalEnabled are supposed to be removed, however they're used to emit metrics in the workflow rate limiter. It's not correct.

How did you test it?
Unit tests

Potential risks
The log field mode will contain enabled instead of shadow for HistoryClientWfIDCache metrics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants