File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
22name : swirl
33description : A Helm chart for deploying Swirl AI-powered search platform on Azure Kubernetes Service (AKS)
44type : application
5- version : 0.2.0
5+ version : 0.2.1
66appVersion : " stable"
77keywords :
88 - swirl
Original file line number Diff line number Diff line change @@ -31,6 +31,15 @@ get_max_memory_per_child_config() {
3131 fi
3232}
3333
34+ get_max_tasks_per_child_config () {
35+ if [ ! -z " $SWIRL_CELERY_MAX_TASKS_PER_CHILD " ]; then
36+ echo " --max-tasks-per-child=$SWIRL_CELERY_TASKS_PER_CHILD "
37+ else
38+ echo " "
39+ fi
40+ }
41+
42+
3443get_default_workers_concurrency_config () {
3544 if [ ! -z " $CELERY_DEFAULT_WORKERS_PROCESSES_CONCURRENCY " ] && [ " $CELERY_DEFAULT_WORKERS_PROCESSES_CONCURRENCY " -ge 1 ]; then
3645 echo " --concurrency=$CELERY_DEFAULT_WORKERS_PROCESSES_CONCURRENCY "
@@ -44,4 +53,4 @@ celery -A swirl_server worker \
4453 --loglevel=$LOGLEVEL \
4554 --without-heartbeat \
4655 --without-gossip \
47- --without-mingle $( get_autoscale_config) $( get_max_memory_per_child_config) $( get_default_workers_concurrency_config) $ENABLE_EVENTS
56+ --without-mingle $( get_autoscale_config) $( get_max_tasks_per_child_config ) $( get_max_memory_per_child_config) $( get_default_workers_concurrency_config) $ENABLE_EVENTS
You can’t perform that action at this time.
0 commit comments