From e8c767946ba0bd30223e539cfd79009f7ff1c38e Mon Sep 17 00:00:00 2001 From: Egor fureunoir Gorbunov Date: Wed, 2 Jul 2025 00:50:19 +0300 Subject: [PATCH] Features: None; Fixes: 1) Remove redundant `--pool-startup-timeout` argument from worker and stock-updater entrypoints; Extra: None; --- scripts/Docker/stock-updater-entrypoint.sh | 2 +- scripts/Docker/worker-entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Docker/stock-updater-entrypoint.sh b/scripts/Docker/stock-updater-entrypoint.sh index 1e5e868f..a1516086 100644 --- a/scripts/Docker/stock-updater-entrypoint.sh +++ b/scripts/Docker/stock-updater-entrypoint.sh @@ -5,4 +5,4 @@ set -e poetry run python manage.py await_services # run stock_updater -poetry run celery -A evibes worker --pool=prefork --concurrency=1 --queues=stock_updater --loglevel=info --max-tasks-per-child=1 --pool-startup-timeout=60 \ No newline at end of file +poetry run celery -A evibes worker --pool=prefork --concurrency=1 --queues=stock_updater --loglevel=info --max-tasks-per-child=1 \ No newline at end of file diff --git a/scripts/Docker/worker-entrypoint.sh b/scripts/Docker/worker-entrypoint.sh index 24768df3..23001d3b 100644 --- a/scripts/Docker/worker-entrypoint.sh +++ b/scripts/Docker/worker-entrypoint.sh @@ -5,4 +5,4 @@ set -e poetry run python manage.py await_services # run worker and metrics exporter -poetry run celery -A evibes worker --pool=prefork --concurrency=8 --loglevel=info -E --queues=default --prefetch-multiplier=1 --max-tasks-per-child=100 --max-memory-per-child=512000 --soft-time-limit=3600 --time-limit=7200 --pool-startup-timeout=30 & /usr/local/bin/celery-prometheus-exporter \ No newline at end of file +poetry run celery -A evibes worker --pool=prefork --concurrency=8 --loglevel=info -E --queues=default --prefetch-multiplier=1 --max-tasks-per-child=100 --max-memory-per-child=512000 --soft-time-limit=3600 --time-limit=7200 & /usr/local/bin/celery-prometheus-exporter \ No newline at end of file