Skip to content

Commit

Permalink
Extend thread join timeout for slower devices
Browse files Browse the repository at this point in the history
- This is just a temporary measure until better thread management is implemented
  • Loading branch information
MoojMidge committed Jan 7, 2024
1 parent 24b4426 commit 08b59a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/lib/youtube_plugin/youtube/helper/v3.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def _fetch(resource):

thread = resource['thread']
if thread:
thread.join(1)
thread.join(5)
if not thread.is_alive():
resource['thread'] = None
resource['complete'] = True
Expand Down

0 comments on commit 08b59a0

Please sign in to comment.