From 3682c1d05bbfe6a5c18355655936aa3da53c30ae Mon Sep 17 00:00:00 2001 From: shimon Date: Tue, 15 Nov 2022 18:07:13 +0200 Subject: [PATCH] addressing some comments --- bin/worker-functions | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/bin/worker-functions b/bin/worker-functions index 5e9728c46e..7e7b4e565f 100644 --- a/bin/worker-functions +++ b/bin/worker-functions @@ -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=0.1 QUEUE='v1-functions' APP_INCLUDE='/usr/src/code/app/workers/functions.php' php /usr/src/code/vendor/bin/resque -dopcache.preload=opcache.preload=/usr/src/code/app/preload.php \ No newline at end of file +php /usr/src/code/app/cli.php worker-functions $@ \ No newline at end of file