Remove unused Arc/Mutex

Signed-off-by: pep <pep@bouah.net>
This commit is contained in:
pep 2024-09-04 20:33:16 +02:00
commit f6b031eb1f
3 changed files with 3 additions and 7 deletions

View file

@ -28,8 +28,6 @@ use crate::error::Error;
use crate::hooks::Hook;
use crate::web::hooks;
use std::sync::{Arc, Mutex};
use camino::Utf8PathBuf;
use clap::{command, value_parser, Arg};
use hyper::{server::conn::http1, service::service_fn};
@ -62,7 +60,6 @@ async fn main() -> Result<!, Error> {
);
let tcp_bind = TcpListener::bind(config.addr).await?;
let value_tx = Arc::new(Mutex::new(value_tx));
loop {
let value_tx = value_tx.clone();