You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
asyncdeflong_job(ctx):
# simulate job that takes a long timeawaitasyncio.sleep(3600)
classWorkerSettings:
cron_jobs= [
cron(long_job, run_at_startup=True)
]
# ...
the job times out after 300 seconds with TimeoutError, even though the timeout is None, which is the default for cron jobs.
I believe the culprit is this line, which replaces the None value although None may be desired.
If desired I can submit a PR.
The text was updated successfully, but these errors were encountered:
Given the following settings:
the job times out after 300 seconds with
TimeoutError
, even though the timeout isNone
, which is the default for cron jobs.I believe the culprit is this line, which replaces the None value although None may be desired.
If desired I can submit a PR.
The text was updated successfully, but these errors were encountered: