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

frozen cron tasks do not get caught by watchdogs #51

Closed
faithanalog opened this issue Apr 28, 2020 · 1 comment
Closed

frozen cron tasks do not get caught by watchdogs #51

faithanalog opened this issue Apr 28, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@faithanalog
Copy link

faithanalog commented Apr 28, 2020

Simple reproduction:

def fn():
    while True: pass

cron.after(‘0s’, fn)

Expected: this task eventually gets caught & reported to the log

What actually happens: no watchdog reports are printed

According to slack discussion, this is because watchdogs are implemented with cron, so freezing cron also freezes the watchdogs

@lunixbochs lunixbochs added the bug Something isn't working label Nov 2, 2020
@lunixbochs
Copy link

fixed in next beta release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants