fix: remove the fast timer for start_watch
All checks were successful
/ build (push) Successful in 5m6s

This commit is contained in:
Tamipes 2026-06-04 19:41:48 +02:00
parent 37b9676dd4
commit a9a4e912f4

View file

@ -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?;
}