Skip to content

Commit

Permalink
[QOLDEV-312] erase test jobs when shutting down workers, not when sta…
Browse files Browse the repository at this point in the history
…rting them
  • Loading branch information
ThrawnCA committed Aug 31, 2023
1 parent a1c1ae1 commit 9d7db28
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .ahoy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,28 +196,28 @@ commands:
usage: Starts default CKAN background job worker
cmd: |
ahoy title 'Starting default CKAN background job worker'
ahoy cli "ckan_cli jobs clear && \
ckan_cli jobs worker"
ahoy cli "ckan_cli jobs worker"
start-ckan-job-worker-priority:
usage: Starts CKAN background job worker for priority tasks
cmd: |
ahoy title 'Starting CKAN background job worker priority'
ahoy cli "ckan_cli jobs clear priority && \
ckan_cli jobs worker priority"
ahoy cli "ckan_cli jobs worker priority"
start-ckan-job-worker-bulk:
usage: Starts CKAN background job worker for low-priority tasks
cmd: |
ahoy title 'Starting CKAN background job worker bulk'
ahoy cli "ckan_cli jobs clear bulk && \
ckan_cli jobs worker bulk"
ahoy cli "ckan_cli jobs worker bulk"
stop-ckan-job-workers:
usage: Stops CKAN background job worker
cmd: |
ahoy title 'Stopping CKAN background job worker'
ahoy cli "pkill -f 'jobs worker'"
ahoy cli "pkill -f 'jobs worker'; \
ckan_cli jobs clear; \
ckan_cli jobs clear priority; \
ckan_cli jobs clear bulk"
# Utilities.
title:
Expand Down

0 comments on commit 9d7db28

Please sign in to comment.