summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/main.rs b/src/main.rs
index 0a24ed6..f093e0a 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -115,22 +115,6 @@ async fn main() {
let listener = tokio::net::TcpListener::bind("0.0.0.0:3000").await.unwrap();
let _ = axum::serve(listener, app).await;
-
- loop {
- tokio::select! {
- _ = tokio::signal::ctrl_c() => {
- println!("Shutting down...");
- break;
- }
- _ = tokio::time::sleep(Duration::from_secs(1)) => {
- println!("-- PRINTER STATE --");
- let lock = state.lock().await;
- for (key, value) in lock.iter() {
- println!("{}: {:?}", key, value);
- }
- }
- }
- }
}
async fn root(