Closed dirkcuys closed 3 years ago
@fields37 I added celery to be able to run async tasks. Celery does this by sending a message through a message broker, normally rabbitmq, but in this case redis, and then executed in a worker process run separately from the web application.
The logic for an async task would be added to meetings/tasks.py
To invoke a async task, you can call it as such:
create_zoom_registrations.delay(meeting)
There are also other ways of invoking tasks
@fields37 I added celery to be able to run async tasks. Celery does this by sending a message through a message broker, normally rabbitmq, but in this case redis, and then executed in a worker process run separately from the web application.
The logic for an async task would be added to meetings/tasks.py
To invoke a async task, you can call it as such:
There are also other ways of invoking tasks