Skip to content

Commit

Permalink
Reduce sleep timer set between two starting instances
Browse files Browse the repository at this point in the history
  • Loading branch information
emericg committed May 14, 2024
1 parent 72858d4 commit 42b9bf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenSubtitlesDownload.py
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ def downloadSubtitles(USER_TOKEN, subURL, subPath):
command.append(videoPathDispatch)

# Do not spawn too many instances at once, avoid error '429 Too Many Requests'
time.sleep(3)
time.sleep(1)

if opt_gui == 'cli' and opt_selection_mode != 'auto':
# Synchronous call
Expand Down

0 comments on commit 42b9bf5

Please sign in to comment.