github →

New request

#177: Feature request: Ability to change interval and intervalCap at runtime

We'll provision a sandbox, run an agent against the issue, and open a draft PR. You can pull the branch and iterate from there.

Issue

As far as I can tell currently there is no way to change the interval and/or intervalCap at runtime. Is there any chance for this to be implemented?

The current solution is great if you know in advance that you want to run tasks at a steady rate. However, in more dynamic use cases changing interval or intervalCap would be very useful.

Assessmentadvisory
feature●● medium85% confidence

Exposing mutable interval and intervalCap requires changes to core rate-limiting scheduling logic, option types, tests for dynamic behavior, and documentation.

Likely files
  • source/queue.ts
  • source/options.ts
  • source/index.ts
  • test/test.ts
  • readme.md
Create the request

This opens a fresh agent run and a draft PR for issue #177.

Cancel