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

Run tasks non-concurrently? #50

Open
Zerowalker opened this issue Jul 24, 2023 · 2 comments
Open

Run tasks non-concurrently? #50

Zerowalker opened this issue Jul 24, 2023 · 2 comments

Comments

@Zerowalker
Copy link

Is it possible to make sure a task doesn't run concurrent with itself?

Say a task repeats every 10 seconds, and sometimes it takes 15 seconds to complete so the next one starts while the last one is still running.
That I would like to prevent if possible, so instead it has to wait till the last one is done and will then execute at the next tick or something.

@mvniekerk
Copy link
Owner

Ok, so you would like to have some of blocker that keeps a job from running with itself?
Interesting.

Thanks for the issue, I'll check what I can do

@Zerowalker
Copy link
Author

Yeah, it's not a big thing right now personally, but I still find it to be a good feature to look into.
Though if i'm the only one that thinks so, it might not be that good a feature anyhow, so take it with a grain of salt;p

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