Skip to content
Snippets Groups Projects
Verified Commit 1d366d14 authored by Marco (Gregorius)'s avatar Marco (Gregorius) :palm_tree:
Browse files

Remove Sidekiq queue selector and negate options

parent 05d2e6ef
No related branches found
No related tags found
1 merge request!1798Remove Sidekiq queue selector and negate options
......@@ -14,20 +14,6 @@ else
fi
fi
if [ -n "${SIDEKIQ_NEGATE_QUEUES}" ]; then
queues="${SIDEKIQ_NEGATE_QUEUES}"
negate_flag='--negate'
else
queues="${SIDEKIQ_QUEUES:-*}"
negate_flag=''
fi
if [[ "${SIDEKIQ_QUEUE_SELECTOR}" = 'true' ]]; then
queue_selector_flag='--queue-selector'
else
queue_selector_flag=''
fi
CONCURRENCY_ARGS="-c ${SIDEKIQ_CONCURRENCY}"
if [[ -n "$SIDEKIQ_CONCURRENCY_MIN" ]] || [[ -n "$SIDEKIQ_CONCURRENCY_MAX" ]]; then
......@@ -51,6 +37,4 @@ exec bin/sidekiq-cluster \
-e production \
$CONCURRENCY_ARGS \
-t $SIDEKIQ_TIMEOUT \
$queue_selector_flag \
$negate_flag \
"${queues}"
"${SIDEKIQ_QUEUES:-*}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment