fmt
Some checks failed
deploy / deploy (push) Failing after 3s

This commit is contained in:
2024-09-23 18:16:47 +03:00
parent a85a5c5dd5
commit ef78bc078b
6 changed files with 10 additions and 18 deletions

View File

@@ -14,7 +14,7 @@ async fn main() -> std::io::Result<()> {
let app_state = AppState::new().await;
let app_state_clone = app_state.clone();
// Используем spawn_blocking для работы, которая не совместима с Send
spawn_blocking(move || {
let rt = tokio::runtime::Handle::current();
@@ -34,4 +34,4 @@ async fn main() -> std::io::Result<()> {
.bind("127.0.0.1:8080")?
.run()
.await
}
}