Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP] queue_job: change jobs to paused channel #10

Open
wants to merge 1 commit into
base: 16.0
Choose a base branch
from

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