From 413524c944f4131aa357b335a8f7b0d181b43d31 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Thu, 20 Oct 2022 15:53:12 +0200 Subject: [PATCH] Remove unnecessary channel buffer --- crates/fj-host/src/watcher.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/fj-host/src/watcher.rs b/crates/fj-host/src/watcher.rs index 4af153239..0456ef6fc 100644 --- a/crates/fj-host/src/watcher.rs +++ b/crates/fj-host/src/watcher.rs @@ -14,7 +14,7 @@ pub struct Watcher { impl Watcher { /// Watch the provided model for changes pub fn watch_model(model: Model) -> Result { - let (event_tx, event_rx) = crossbeam_channel::bounded(1); + let (event_tx, event_rx) = crossbeam_channel::bounded(0); let (watch_tx, watch_rx) = crossbeam_channel::bounded(0); let watch_tx_2 = watch_tx.clone();