Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion querybook/scripts/runservice
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ case "$SERVICE_NAME" in
COMMAND="uwsgi --ini uwsgi.ini"
;;
"prod_worker")
COMMAND="celery -A tasks.all_tasks worker -E --without-heartbeat --without-gossip --without-mingle"
COMMAND="celery -A tasks.all_tasks worker -E --without-heartbeat --without-gossip --without-mingle --max-tasks-per-child=100"
;;
"prod_scheduler")
COMMAND="celery -A tasks.all_tasks beat -S scheduler.DatabaseScheduler"
Expand Down
6 changes: 3 additions & 3 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Flask-Compress==1.10.1
Flask-Login==0.6.2
Flask-Limiter==2.2.0
python-memcached==1.59
redis==4.3.6
redis==5.3.1

gevent==21.12.0
greenlet==1.1.2
Expand All @@ -21,8 +21,8 @@ flask-socketio==5.3.3
Jinja2==3.1.3 # From Flask

# Celery
celery==5.2.7
kombu==5.3.1 # not a direct dependency (from celery), pinned by due to bug: https://github.com/celery/kombu/issues/1785
celery==5.6.0
kombu==5.6.1 # not a direct dependency (from celery), pinned by due to bug: https://github.com/celery/kombu/issues/1785


# Ops
Expand Down