diff options
author | Jesse Luehrs <doy@tozt.net> | 2023-03-25 18:29:04 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2023-03-25 23:14:16 -0400 |
commit | b659cc500476a7b4b94bc6659d46922be9465b99 (patch) | |
tree | cdf83f293d4951bf2565cc8f92e73413d7e81819 /src/bin/rbw-agent/main.rs | |
parent | ad0a078a5a2c4c9efd16b20ff47cc4e1ef922dab (diff) | |
download | rbw-b659cc500476a7b4b94bc6659d46922be9465b99.tar.gz rbw-b659cc500476a7b4b94bc6659d46922be9465b99.zip |
stop using tokio::select!
Diffstat (limited to 'src/bin/rbw-agent/main.rs')
-rw-r--r-- | src/bin/rbw-agent/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/rbw-agent/main.rs b/src/bin/rbw-agent/main.rs index ad1fe80..81eee3a 100644 --- a/src/bin/rbw-agent/main.rs +++ b/src/bin/rbw-agent/main.rs @@ -20,6 +20,7 @@ mod agent; mod daemon; mod debugger; mod sock; +mod timeout; async fn tokio_main( startup_ack: Option<crate::daemon::StartupAck>, @@ -30,7 +31,7 @@ async fn tokio_main( startup_ack.ack()?; } - let mut agent = crate::agent::Agent::new()?; + let agent = crate::agent::Agent::new()?; agent.run(listener).await?; Ok(()) |