From 813f7e95c5232d15a557fff9835f710081166f86 Mon Sep 17 00:00:00 2001 From: Jiri Popelka Date: Wed, 7 Dec 2022 15:38:38 +0100 Subject: [PATCH] Don't install python3-eventlet for worker It was there so that we could switch between gevent & eventlet for a greenlets library (for concurrency pool), but never actually tried it. We've been using gevent for several months now. --- files/install-deps-worker.yaml | 4 +--- files/run_worker.sh | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/files/install-deps-worker.yaml b/files/install-deps-worker.yaml index b9c2f5ad94..e48dc3a608 100644 --- a/files/install-deps-worker.yaml +++ b/files/install-deps-worker.yaml @@ -36,9 +36,7 @@ - postgresql # pg_dump - python3-boto3 # AWS (S3) - python3-fasjson-client - # remove if we decide not to use concurrency - - python3-eventlet - - python3-gevent + - python3-gevent # concurrency pool, see run_worker.sh # v6 = bodhi-client, v5 = python3-bodhi{,-client} - bodhi-client # needed when installing from koji - there are no GPG-signed packages diff --git a/files/run_worker.sh b/files/run_worker.sh index 36f88195ec..8093c329c0 100755 --- a/files/run_worker.sh +++ b/files/run_worker.sh @@ -38,7 +38,7 @@ elif [[ "${CELERY_COMMAND}" == "worker" ]]; then CONCURRENCY="${CONCURRENCY:-$DEFAULT_CONCURRENCY}" export CONCURRENCY - # Options: prefork | eventlet | gevent | solo + # Options: solo | gevent # https://www.distributedpython.com/2018/10/26/celery-execution-pool/ DEFAULT_POOL="solo" DEFAULT_CONCURRENCY_POOL="gevent"