File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ case "$SERVICE_NAME" in
3030 COMMAND=" uwsgi --ini uwsgi.ini"
3131 ;;
3232" prod_worker" )
33- COMMAND=" celery -A tasks.all_tasks worker -E --without-heartbeat --without-gossip --without-mingle"
33+ COMMAND=" celery -A tasks.all_tasks worker -E --without-heartbeat --without-gossip --without-mingle --max-tasks-per-child=100 "
3434 ;;
3535" prod_scheduler" )
3636 COMMAND=" celery -A tasks.all_tasks beat -S scheduler.DatabaseScheduler"
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Flask-Compress==1.10.1
77Flask-Login==0.6.2
88Flask-Limiter==2.2.0
99python-memcached==1.59
10- redis==4 .3.6
10+ redis==5 .3.1
1111
1212gevent==21.12.0
1313greenlet==1.1.2
@@ -21,8 +21,8 @@ flask-socketio==5.3.3
2121Jinja2==3.1.3 # From Flask
2222
2323# Celery
24- celery==5.2.7
25- kombu==5.3 .1 # not a direct dependency (from celery), pinned by due to bug: https://github.com/celery/kombu/issues/1785
24+ celery==5.6.0
25+ kombu==5.6 .1 # not a direct dependency (from celery), pinned by due to bug: https://github.com/celery/kombu/issues/1785
2626
2727
2828# Ops
You can’t perform that action at this time.
0 commit comments