celery -A celery_tutorial beat --loglevel=info --detach
tasklarni backgroundda run qilish 2.
celery -A celery_tutorial worker --loglevel=info --detach
workerlarni backgroundda ishga tushirish3.
ps aux | grep celery
ishlab turgan workerlarni ko'rish4.
kill -9 <pid>
workerlarni to'xtatish idsi bo'yicha||Deploy qilayotganda||
1.
supervisorctl start celerytasklarni backgroundda run qilish
2.
supervisorctl start celeryworkerlarni to'xtatish
👍1
TRUNCATE TABLE table_name;dbdagi tablening hamma ma'lutmolarni o'chirish
👍6
Omadbek Qosimov's blog
https://www.digitalocean.com/community/tutorials/how-to-set-up-an-asgi-django-app-with-postgres-nginx-and-uvicorn-on-ubuntu-20-04
This media is not supported in your browser
VIEW IN TELEGRAM
server conf for(webcoket streaming)
<= ngnix || gunicorn || uvicorn =>