How to use AsyncIOScheduler with gunicorn? #711
Unanswered
michal-cech
asked this question in
Q&A
Replies: 1 comment
-
I have a similar setup and I'm curious what you mean by running the scheduler with gunicorn. Aren't the scheduler and gunicorn different processes? Is gunicorn playing a different role than an HTTP server here? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, is it possible to use AsyncIO Scheduler together with gunicorn? My setup is gunicorn with several unicorn workers running the app. It seems that in this configuration the scheduler never runs, not even once. So far I have tried:
--preload
: this does not seem to have an effect,on_starting
hook function: no avail.It might be possible to use BackgroundScheduler, but since my scheduling function must use async I have encountered other issues and I would prefer to use AsyncIO scheduler instead.
Beta Was this translation helpful? Give feedback.
All reactions