Skip to content

Commit

Permalink
another superflous run pre-commit error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Maralai committed May 26, 2024
1 parent 4d58a97 commit b3d8e72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion queue_job/jobrunner/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ def wait_notification(self):
wakeup_time = self.channel_manager.get_wakeup_time()
timeout = (

Check warning on line 489 in queue_job/jobrunner/runner.py

View check run for this annotation

Codecov / codecov/patch

queue_job/jobrunner/runner.py#L488-L489

Added lines #L488 - L489 were not covered by tests
max(0, wakeup_time - _odoo_now()) if wakeup_time else SELECT_TIMEOUT
)
)

events = selector.select(timeout)

Check warning on line 493 in queue_job/jobrunner/runner.py

View check run for this annotation

Codecov / codecov/patch

queue_job/jobrunner/runner.py#L493

Added line #L493 was not covered by tests
for key, _ in events:
Expand Down

0 comments on commit b3d8e72

Please sign in to comment.