From d040454473a6a2933691096f29e71bd492b99062 Mon Sep 17 00:00:00 2001 From: shimon Date: Thu, 5 Jan 2023 17:51:44 +0200 Subject: [PATCH] deletes-worker --- bin/worker-deletes | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/bin/worker-deletes b/bin/worker-deletes index 02c2311fa7..93964ed7b5 100644 --- a/bin/worker-deletes +++ b/bin/worker-deletes @@ -1,10 +1,3 @@ #!/bin/sh -if [ -z "$_APP_REDIS_USER" ] && [ -z "$_APP_REDIS_PASS" ] -then - REDIS_BACKEND="${_APP_REDIS_HOST}:${_APP_REDIS_PORT}" -else - REDIS_BACKEND="redis://${_APP_REDIS_USER}:${_APP_REDIS_PASS}@${_APP_REDIS_HOST}:${_APP_REDIS_PORT}" -fi - -INTERVAL=1 QUEUE='v1-deletes' APP_INCLUDE='/usr/src/code/app/workers/deletes.php' php /usr/src/code/vendor/bin/resque -dopcache.preload=opcache.preload=/usr/src/code/app/preload.php \ No newline at end of file +QUEUE=v1-deletes php /usr/src/code/app/workers/deletes.php $@ \ No newline at end of file