diff options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 5756026b..60044981 100644 --- a/src/main.rs +++ b/src/main.rs @@ -249,7 +249,7 @@ fn main() -> io::Result<()> { init_logging(); - let (api_tx, api_rx) = std::sync::mpsc::channel(); + let (api_tx, api_rx) = tokio::sync::mpsc::unbounded_channel(); let event_hub = api::EventHub::default(); let _api_server = api::start_server(api_tx, event_hub.clone())?; |
