Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmygchen committed Dec 11, 2023
1 parent d73fe56 commit 02d9bb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion watch/src/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ pub fn start_server(
.layer(Extension(slots_per_epoch));

let addr = SocketAddr::new(config.server.listen_addr, config.server.listen_port);
let mut listener = TcpListener::bind(addr)?;
let listener = TcpListener::bind(addr)?;
listener.set_nonblocking(true)?;
let serve = axum::serve(tokio::net::TcpListener::from_std(listener)?, app);

Expand Down

0 comments on commit 02d9bb4

Please sign in to comment.