photo_processor.py: timeout 120с для ИИ

This commit is contained in:
2026-08-14 12:28:38 +07:00
parent 0dba3e7bf6
commit 2be4711a3a
+1 -1
View File
@@ -101,7 +101,7 @@ def _upload_to_api(image_bytes: bytes, user_id: str, coords: tuple) -> dict:
files={
"image": ("photo.jpg", image_bytes, "image/jpeg")
},
timeout=30,
timeout=120,
verify=False
)
response.raise_for_status()