-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
Celery with asyncio? #321
Comments
Hi, @downdawn |
nice |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, @wu-clan
Celery scheduled tasks cannot be executed
Solutions related to asyncio
https://stackoverflow.com/questions/39815771/how-to-combine-celery-with-asyncio
The method above uses async_to_sync to forcibly convert to a synchronous method, which runs normally on the Windows 10 system, but requires additional configuration.
In the CentOS 7 system environment, after deployment using Supervisor and Gunicorn, observe it several times and an exception may occur.
If Celery cannot be compatible with asyncio, then performing database operations within tasks will be affected.
The text was updated successfully, but these errors were encountered: