photo_processor.py: timeout 300с (5 минут)
This commit is contained in:
@@ -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=120,
|
||||
timeout=300,
|
||||
verify=False
|
||||
)
|
||||
response.raise_for_status()
|
||||
|
||||
Reference in New Issue
Block a user