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

feat: allow changing repeating task interval and timeout #2934

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

achingbrain
Copy link
Member

To allow for changing the frequency and timeout of repeating tasks add setInterval and setTimeout methods to the task.

This lets us repeat a task often to start with, then slow down the repetition once a successful result has occured.

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if necessary (this includes comments as well)
  • I have added tests that prove my fix is effective or that my feature works

To allow for changing the frequency and timeout of repeating tasks
add `setInterval` and `setTimeout` methods to the task.

This lets us repeat a task often to start with, then slow down the
repetition once a successful result has occured.
@achingbrain achingbrain requested a review from a team as a code owner February 4, 2025 07:30
@achingbrain achingbrain merged commit d708bb6 into main Feb 4, 2025
32 checks passed
@achingbrain achingbrain deleted the feat/allow-changing-task-interval branch February 4, 2025 08:05
@achingbrain achingbrain mentioned this pull request Feb 4, 2025
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.

1 participant