Skip to content

Commit

Permalink
adjust wait timer
Browse files Browse the repository at this point in the history
  • Loading branch information
Drazzilb08 committed Feb 16, 2024
1 parent 4082927 commit 62b9396
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/upgradinatorr.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ def process_instance(instance_type, instance_settings, app):
app.add_tags(media_ids, tag_id)
ready = app.wait_for_command(search_response['id'])
if ready:
sleep_time = 10 # Set the sleep time to 5 seconds
sleep_time = 15 # Set the sleep time to 5 seconds
print(f"Waiting for {sleep_time} seconds to allow for search results to populate in the queue...")
time.sleep(5)
time.sleep(sleep_time)
queue = app.get_queue(instance_type)
logger.debug(f"queue:\n{json.dumps(queue, indent=4)}")
queue_dict = process_queue(queue, instance_type, media_ids)
Expand Down

0 comments on commit 62b9396

Please sign in to comment.