I have a celery task which performs queries and network operations.
When deployed with celery with gevent concurrency, I occasionally (but not always) get reports of SynchronousOnlyOperation exceptions being raised.
I tried debugging the issue and looking for information about similar issues with django+celery+gevent with little luck, but I have started to wonder if the fact that Django is raising this error there is a bug.
I see this error is raised if django detects an event loop, should this apply also to when gevent is using the eventloop?
Thanks in advance
Best regards
Federico