mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 16:48:30 +00:00
Increase providers fetching timeout
This commit is contained in:
@@ -164,7 +164,7 @@ def fetch_provider_data(cache_file):
|
|||||||
- dict or None: The fetched provider data or None if the operation fails.
|
- dict or None: The fetched provider data or None if the operation fails.
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
response = requests.get(JSON_URL, stream=True, timeout=10)
|
response = requests.get(JSON_URL, stream=True, timeout=60)
|
||||||
response.raise_for_status()
|
response.raise_for_status()
|
||||||
data = download_data(response)
|
data = download_data(response)
|
||||||
with open(cache_file, "w") as f:
|
with open(cache_file, "w") as f:
|
||||||
|
|||||||
Reference in New Issue
Block a user