From 9233925a83084e8fe5a137988f04822406200b3a Mon Sep 17 00:00:00 2001 From: tazlin Date: Mon, 30 Sep 2024 20:13:46 -0400 Subject: [PATCH] fix: longer timeout for long running civitai requests This is due to the CI consistently failing here. --- hordelib/model_manager/lora.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hordelib/model_manager/lora.py b/hordelib/model_manager/lora.py index 8ce08fc3..bc34d610 100644 --- a/hordelib/model_manager/lora.py +++ b/hordelib/model_manager/lora.py @@ -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