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

Support deleting / disposing buckets #180

Closed
lewisfzhang opened this issue Aug 10, 2024 · 4 comments
Closed

Support deleting / disposing buckets #180

lewisfzhang opened this issue Aug 10, 2024 · 4 comments

Comments

@lewisfzhang
Copy link

Currently there is no documentation or known way to dispose of old buckets that aren't needed anymore. Specifically, the Leaker class has a long-running background task that's responsible for leaking every bucket, but there's no way to stop the bucket from leaking today.

Being able to dispose of buckets is especially important for any bucket source that is not in memory (ie. wasted leak operations to a Redis / DB source for buckets that aren't needed anymore, and additional performance overhead on client-side for leaking unused buckets.

@vutran1710
Copy link
Owner

I see. Will add soon.

@lewisfzhang
Copy link
Author

Awesome thank you!

@vutran1710
Copy link
Owner

v3.7.0 released at your service @lewisfzhang https://github.com/vutran1710/PyrateLimiter?tab=readme-ov-file#limiter-api

@lewisfzhang
Copy link
Author

Awesome thank you for the quick turnaround!

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

No branches or pull requests

2 participants