From a9a4e912f447b64fc21a5a4d8e7fcea7bdbe9679 Mon Sep 17 00:00:00 2001 From: Tamipes Date: Thu, 4 Jun 2026 19:41:48 +0200 Subject: [PATCH] fix: remove the fast timer for `start_watch` --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 0c0a9e8..89c421e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -299,7 +299,7 @@ where tracing::debug!(msg = "server status", status = ?status); match status { ServerDeploymentStatus::Connectable(mut server_stream) => { - api.start_watch(server.clone(), Duration::from_secs(60)) + api.start_watch(server.clone(), Duration::from_secs(600)) .await?; // referenced from: @@ -350,7 +350,7 @@ where } ServerDeploymentStatus::Offline => { server.start().await?; - api.start_watch(server.clone(), Duration::from_secs(60)) + api.start_watch(server.clone(), Duration::from_secs(600)) .await?; mc_server::send_disconnect(client_stream, format!("[\"\",{{\"text\":\"Okayy, §2starting§r the server!\n\n\"}},{{\"text\":\"{BYE_MESSAGE}\"}}]").as_str()).await?; }