Skip to content

Commit

Permalink
fix: longer timeout for long running civitai requests
Browse files Browse the repository at this point in the history
This is due to the CI consistently failing here.
  • Loading branch information
tazlin committed Oct 1, 2024
1 parent 559a3df commit 9233925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hordelib/model_manager/lora.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class LoraModelManager(BaseModelManager):
MAX_DOWNLOAD_THREADS = 5 if not TESTS_ONGOING else 75
RETRY_DELAY = 3 if not TESTS_ONGOING else 0.2
"""The time to wait between retries in seconds"""
REQUEST_METADATA_TIMEOUT = 20 # Longer because civitai performs poorly on metadata requests for more than 5 models
REQUEST_METADATA_TIMEOUT = 35 # Longer because civitai performs poorly on metadata requests for more than 5 models
"""The maximum time for no data to be received before we give up on a metadata fetch, in seconds"""
REQUEST_DOWNLOAD_TIMEOUT = 10 if not TESTS_ONGOING else 1
"""The maximum time for no data to be received before we give up on a download, in seconds
Expand Down

0 comments on commit 9233925

Please sign in to comment.