Increase fallback Gemini timeout from 60s to 150s
Log analysis showed fallback model responses up to 154s under parallel load. 60s was too aggressive and would cause false timeouts. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
e8c0257ea6
commit
a9bd6a2775
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ logger = logging.getLogger(__name__)
|
|||
|
||||
# Timeout (seconds) for each Gemini API call
|
||||
_PRIMARY_TIMEOUT = 45
|
||||
_FALLBACK_TIMEOUT = 60
|
||||
_FALLBACK_TIMEOUT = 150
|
||||
|
||||
|
||||
class GeminiService:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue