Skip to content

Commit

Permalink
Pass timeout to ProcessPool.submit() as positional parameter
Browse files Browse the repository at this point in the history
It was made positional-only in commit:
noxdafox/pebble@6a12ddf
  • Loading branch information
nsoranzo committed Dec 17, 2024
1 parent 5f7c3ba commit 3546ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/celery/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def abort_when_job_stops(function: Callable, session: galaxy_scoped_session, job
if not is_aborted(session, job_id):
future = celery_app.fork_pool.submit(
function,
timeout=None,
None,
**kwargs,
)
while True:
Expand Down

0 comments on commit 3546ae5

Please sign in to comment.