fix: remove the fast timer for start_watch
All checks were successful
/ build (push) Successful in 5m6s
All checks were successful
/ build (push) Successful in 5m6s
This commit is contained in:
parent
37b9676dd4
commit
a9a4e912f4
1 changed files with 2 additions and 2 deletions
|
|
@ -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?;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue