mitmedialab / unbreakout

0 stars 2 forks source link

Make Zoom registrations async #36

Open fields37 opened 3 years ago

fields37 commented 3 years ago

"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 commented 3 years ago