Skip to content

Commit

Permalink
Read from signal FIFO
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdewid committed Aug 21, 2023
1 parent 2adb97f commit 2b244ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions glonax-proxy/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ async fn daemonize(config: &config::ProxyConfig) -> anyhow::Result<()> {

log::info!("Starting proxy services");

let (tx, _rx) = broadcast::channel(16);
let (tx, _rx) = broadcast::channel(8);

let (motion_tx, mut motion_rx) = tokio::sync::mpsc::channel(16);

Expand Down Expand Up @@ -174,7 +174,7 @@ async fn daemonize(config: &config::ProxyConfig) -> anyhow::Result<()> {
loop {
log::debug!("Waiting for FIFO connection: {}", "signal");

let mut client = glonax::transport::Client::open_write("signal")
let mut client = glonax::transport::Client::open_read("signal")
.await
.unwrap();

Expand Down

0 comments on commit 2b244ca

Please sign in to comment.