Skip to content

Commit

Permalink
Remove unnecessary channel buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Oct 20, 2022
1 parent edca148 commit 413524c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/fj-host/src/watcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub struct Watcher {
impl Watcher {
/// Watch the provided model for changes
pub fn watch_model(model: Model) -> Result<Self, Error> {
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();
Expand Down

0 comments on commit 413524c

Please sign in to comment.