Skip to content

Commit

Permalink
ulwgl_util: update timeout for thread
Browse files Browse the repository at this point in the history
- Ensure the timeout is at least as long as the runtime's timeout.
  • Loading branch information
R1kaB3rN committed Mar 20, 2024
1 parent 5c003d1 commit 3e43f01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ULWGL/ulwgl_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def _install_ulwgl(
"../../../ULWGL/ulwgl_run.py"
)

thread.join(timeout=180)
thread.join(timeout=300)
log.console("Completed.")


Expand Down Expand Up @@ -417,7 +417,7 @@ def _update_ulwgl(
json_local["ulwgl"]["versions"]["runner"] = val

if thread:
thread.join(timeout=180)
thread.join(timeout=300)

# Finally, update the local config file
with local.joinpath(CONFIG).open(mode="w") as file:
Expand Down

0 comments on commit 3e43f01

Please sign in to comment.