Skip to content

Commit

Permalink
Put babysit tasks in the long running queue (#2360)
Browse files Browse the repository at this point in the history
Merging manually because of this: flexmock/flexmock#152
  • Loading branch information
majamassarini authored Mar 6, 2024
2 parents 0c14c87 + 8332ec1 commit 9a8ade9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packit_service/worker/handlers/vm_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ def run(self) -> TaskResults:
"task.babysit_vm_image_build",
args=(image_id,),
countdown=10, # do the first check in 10s
queue="long-running",
)

self.report_status(VMImageBuildStatus.pending, "")
Expand Down
1 change: 1 addition & 0 deletions packit_service/worker/helpers/build/copr_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,7 @@ def handle_rpm_build_start(
"task.babysit_copr_build",
args=(build_id,),
countdown=120, # do the first check in 120s
queue="long-running",
)

def _visualize_chroots_diff(
Expand Down

0 comments on commit 9a8ade9

Please sign in to comment.