pyfedi/dev_notes.txt
2024-02-13 21:28:33 +13:00

18 lines
419 B
Text

for celery, run this:
celery -A celery_worker.celery worker --loglevel=INFO
on prod web server, celery is managed by systemd: /etc/default/celeryd and /etc/systemd/system/celeryd.service
sudo systemctl stop celeryd
sudo systemctl restart celeryd or sudo service celeryd restart
*** check for celery-related problems by looking in /var/log/celery ***
for profiling:
use
python profile_app.py
instead of
flask run