-
Notifications
You must be signed in to change notification settings - Fork 180
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
Multiple instances of shceduler problem #51
Comments
yeah, your assumption is right, it will start one scheduler for each forked process and it will run the same job multiple times. |
before start the program ,you had better to |
Sorry for the late update @viniciuschiele closing this |
@viniciuschiele @viniciuschiele fcntl mscvrt |
Why did you add this code? Unable to dynamically modify timing tasks? import atexit
|
I had a doubt, about using flask-apscheduler in a web app
When used in any forking web server (gunicorn uwsgi, etc...), processes get forked, thus apacheduler gets instantiated (and possibly started) in each forked worker process. This leads to the "many jobs running" issue?
In production multiple instances of the app gets created, it will initiate that many scheduler instances also right? so all those instances will try executing the job is it?
Am I wrong here?
The text was updated successfully, but these errors were encountered: