Skip to content

Conversation

@keylor2906
Copy link

In some cases, we need to pause only a job since that it is used to schedule a process for a future date but is needed to filter only the paused ones.

This commit allows to change a channel job to a paused channel (capacity equals zero) using a wizard.

PATCH USE

In some cases, we need to pause only a job since that it is used
to schedule a process for a future date but is needed to filter
only the paused ones.

This commit allows to change a channel job to paused channel
(capacity equals zero) using a wizard.
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 34.00000% with 33 lines in your changes missing coverage. Please review.

Project coverage is 80.84%. Comparing base (887ed25) to head (40f50a4).
Report is 282 commits behind head on 16.0.

Files with missing lines Patch % Lines
queue_job/models/queue_job.py 17.64% 14 Missing ⚠️
queue_job/jobrunner/channels.py 25.00% 5 Missing and 4 partials ⚠️
queue_job/wizards/queue_jobs_pause_channel.py 46.66% 8 Missing ⚠️
queue_job/job.py 60.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             16.0      #10      +/-   ##
==========================================
- Coverage   81.03%   80.84%   -0.19%     
==========================================
  Files          49       83      +34     
  Lines        3685     4432     +747     
  Branches      465      416      -49     
==========================================
+ Hits         2986     3583     +597     
- Misses        626      765     +139     
- Partials       73       84      +11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants