diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-03-31 02:03:45 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-03-31 02:03:45 +0300 |
| commit | ea57a65321edfc44277555de73449bce8b5d58fa (patch) | |
| tree | 30c403c00ecbc3e1cfcade5b24fa0094ebc14d01 /src/main.rs | |
| parent | 41a0269de8594a66f010db48b569567f2aa9c3f2 (diff) | |
fix: make app rendering event-driven
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())?; |
