Skip to content

Commit

Permalink
Bump up gTTS timing even more
Browse files Browse the repository at this point in the history
  • Loading branch information
GnomedDev committed Nov 5, 2024
1 parent 4d4ec5c commit 53be351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gtts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ pub async fn get_tts(
voice: &str,
hit_any_deadline: Arc<AtomicBool>,
) -> Result<(bytes::Bytes, Option<reqwest::header::HeaderValue>)> {
let _guard = DeadlineMonitor::new(Duration::from_millis(1000), hit_any_deadline, |took| {
let _guard = DeadlineMonitor::new(Duration::from_millis(3000), hit_any_deadline, |took| {
tracing::warn!("Fetching gTTS audio took {} millis!", took.as_millis());
});

Expand Down

0 comments on commit 53be351

Please sign in to comment.