change tts limit to 30 seconds

This commit is contained in:
legop3
2026-06-05 14:29:24 -04:00
parent 41b59058bc
commit 870de4f135
4 changed files with 1 additions and 1 deletions
BIN
View File
Binary file not shown.
Vendored
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -44,7 +44,7 @@ func (c *WSClient) handleTTSPayload(ctx context.Context, payload *ttsPayload) er
}
espeakPitch = clampInt(espeakPitch, 0, 99)
runCtx, cancel := context.WithTimeout(ctx, 12*time.Second)
runCtx, cancel := context.WithTimeout(ctx, 40*time.Second)
defer cancel()
var cmd *exec.Cmd