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

[tasks] Run-time changing of the sleep interval #2158

Closed
Rapptz opened this issue May 16, 2019 · 0 comments

Comments

@Rapptz
Copy link
Owner

commented May 16, 2019

The Problem

No way to change the sleep interval at run-time.

The Ideal Solution

Something like task.change_interval(seconds=20.0).

It should apply on the next loop. If someone wants to do it right away regardless of the current loop they can cancel it, change the interval, then start it again.

The Current Solution

None

@Rapptz Rapptz added this to the v1.2 milestone May 16, 2019

@Rapptz Rapptz closed this in #2162 May 17, 2019

Rapptz added a commit that referenced this issue May 17, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.