You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, is there a way to make async Celery Signals? Do you have an Idea of a workaround?
what I want to achieve is the async initialization of some resources after the worker pool gets created like this:
from celery import signals
@signals.worker_init.connect
async def worker_init_dispatch(*args, **kwargs):
await print('Do some worker initialization')
The text was updated successfully, but these errors were encountered:
Hello, is there a way to make async Celery Signals? Do you have an Idea of a workaround?
what I want to achieve is the async initialization of some resources after the worker pool gets created like this:
The text was updated successfully, but these errors were encountered: