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

services/horizon: Throttle the reaper #3819

Closed
paulbellamy opened this issue Aug 11, 2021 · 0 comments · Fixed by #3823
Closed

services/horizon: Throttle the reaper #3819

paulbellamy opened this issue Aug 11, 2021 · 0 comments · Fixed by #3823

Comments

@paulbellamy
Copy link
Contributor

What problem does your feature solve?

When people first turn on the reaper, it monopolizes their CPU.

What would you like to see?

Add some sort of limit to how fast the reaper runs so that it runs slower, but leaves cpu/ram available for other processes.

e.g. Throttle the reap at 2x what’s needed to keep up with new stuff. Might be tricky depending on how it batches.

It does a delete all. Maybe we could add a limit.

What alternatives are there?

  • Leave it and warn people
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant