fix(tts): reuse base tts_timeout config instead of hardcoded 15
This commit is contained in:
1 parent
d03d0d0982
commit
db7db3de67
1 file changed
+1
-1
@@ -40,7 +40,7 @@ class TTSProvider(TTSProviderBase):
|
||||
try:
|
||||
response = requests.request(
|
||||
"POST", self.api_url, json=request_json, headers=headers,
|
||||
timeout=15,
|
||||
timeout=self.tts_timeout,
|
||||
)
|
||||
if response.status_code != 200:
|
||||
raise Exception(
|
||||
|
||||
Reference in new issue
Block a user