Skip to content

Commit 0f26dd3

Browse files
adding hostname to celery state db (GeoNode#11557)
Co-authored-by: Giovanni Allegri <giohappy@gmail.com>
1 parent 24d34cd commit 0f26dd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

celery-cmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Luca Pasquali <luca.pasquali@geosolutionsgroup.com>
44
CELERY_BIN=${CELERY_BIN:-"$(which celery||echo celery)"}
55
CELERY_APP=${CELERY_APP:-"geonode.celery_app:app"}
6-
CELERY__STATE_DB=${CELERY__STATE_DB:-"/mnt/volumes/statics/worker.state"}
6+
CELERY__STATE_DB=${CELERY__STATE_DB:-"/mnt/volumes/statics/worker@%h.state"}
77
# expressed in KB
88
CELERY__MAX_MEMORY_PER_CHILD=${CELERY__MAX_MEMORY_PER_CHILD:-"200000"}
99
CELERY__AUTOSCALE_VALUES=${CELERY__AUTOSCALE_VALUES:-"15,10"}

0 commit comments

Comments
 (0)