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

Batch operation rate limit #120

Closed
wants to merge 1 commit into from
Closed

Conversation

stephanos
Copy link
Contributor

@stephanos stephanos commented Oct 11, 2023

What changed?

Updating API to include temporalio/api#318:

Adding (optional) requestsPerSecond for batch operations to limit their rate.

Why?

To fix temporalio/temporal#4926.

How did you test it?

Potential risks

Comment on lines +7707 to +7708
// RequestsPerSecond limits the number of requests per second for the batch.
RequestsPerSecond int32 `protobuf:"varint,6,opt,name=requests_per_second,json=requestsPerSecond,proto3" json:"requests_per_second,omitempty"`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the new field!

@cretz
Copy link
Member

cretz commented Oct 12, 2023

@stephanos - this repo is automatically updated with merge from the api repo. You don't need a PR unless you are altering non-generated code.

@stephanos
Copy link
Contributor Author

@cretz ohh, I didn't realize that! Then I'll close this PR 👍

@stephanos stephanos closed this Oct 12, 2023
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.

Add a rate limit option for batch operations
2 participants