Skip to content

Commit

Permalink
[QOLDEV-312] adjust test job worker shutdown to report success even w…
Browse files Browse the repository at this point in the history
…hen no workers exist
  • Loading branch information
ThrawnCA committed Aug 31, 2023
1 parent 4880bf6 commit a5b3680
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .ahoy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,10 @@ commands:
usage: Stops CKAN background job worker
cmd: |
ahoy title 'Stopping CKAN background job worker'
ahoy cli "pkill -f 'jobs worker'; \
ckan_cli jobs clear; \
ahoy cli "ckan_cli jobs clear; \
ckan_cli jobs clear priority; \
ckan_cli jobs clear bulk"
ckan_cli jobs clear bulk;
(pgrep 'jobs worker' && pkill -f 'jobs worker') || true"
# Utilities.
title:
Expand Down

0 comments on commit a5b3680

Please sign in to comment.