Task expired and not executed question #738
Unanswered
zhangSanBai
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,i use this frame(version is 3.9.1) with Flask,and start a background thread schduler
aps_jobstores = {
'default': RedisJobStore(xxx)
}
aps_executors = {
'default': ThreadPoolExecutor(32),
'processpool': ProcessPoolExecutor(4),
}
aps_job_defaults = {
'coalesce': True,
'max_instances': 1,
'misfire_grace_time': 3600 * 12,
}
aps_timezone = 'Asia/Shanghai'
scheduler = BackgroundScheduler(
jobstores=aps_jobstores, executors=aps_executors, job_defaults=aps_job_defaults, timezone=aps_timezone
)
Now,i have two questions in production:
1.the task trigger is cron, but is not executed and next_run_time is refreshed
2.i use redis as persist,and the first task is timeout, the whole task list all not executed, like schduler dead, and also next_run_time is not refresh
Beta Was this translation helpful? Give feedback.
All reactions