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

Remove WorkflowIDExternal/InternalRateLimitEnabled dynamic configs #6618

Conversation

arzonus
Copy link
Contributor

@arzonus arzonus commented Jan 14, 2025

What changed?
WorkflowIDInternalRateLimitEnabled and WorkflowIDExternalRateLimitEnabled dynamic configs have been removed. All related logic in tests and code have been removed too.

Why?
Currently we have 4 dynamic config flags for controlling if a domain will be ratelimited by the per-workflow ratelimiter:

  • history.workflowIDInternalRateLimitEnabled
  • history.workflowIDInternalRPS
  • history.workflowIDExternalRateLimitEnabled
  • history.workflowIDExternalRPS
    We do no longer need the *Enabled properties. We can just set the RPS for domains that should not be ratelimited to MAXINT

How did you test it?
Unit tests

Potential risks
WorkflowID Rate Limit will not allow executions or will not limit executions

Release notes

Documentation Changes

@arzonus arzonus changed the title rRmove WorkflowIDExternal/InternalRateLimitEnabled dynamic configs Remove WorkflowIDExternal/InternalRateLimitEnabled dynamic configs Jan 14, 2025
@arzonus arzonus merged commit d500a06 into cadence-workflow:master Jan 15, 2025
22 checks passed
@arzonus arzonus deleted the remove-workflow-id-internal-external-ratelimit-enabled branch January 15, 2025 08:08
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