Skip to content

Commit

Permalink
Run downstream Koji scratch builds in long-running worker (#2660)
Browse files Browse the repository at this point in the history
Run downstream Koji scratch builds in long-running worker

Reviewed-by: Nikola Forró
  • Loading branch information
softwarefactory-project-zuul[bot] authored Nov 27, 2024
2 parents f0a31e5 + 704c17e commit 518166c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packit_service/worker/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,9 @@ def run_downstream_koji_scratch_build_report_handler(
return get_handlers_task_results(handler.run_job(), event)


@celery_app.task(bind=True, name=TaskName.downstream_koji_scratch_build, base=TaskWithRetry)
@celery_app.task(
bind=True, name=TaskName.downstream_koji_scratch_build, base=TaskWithRetry, queue="long-running"
)
def run_downstream_koji_scratch_build_handler(
self, event: dict, package_config: dict, job_config: dict
):
Expand Down

0 comments on commit 518166c

Please sign in to comment.