File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ pub async fn client_entrypoint(
95
95
mut stream : TcpStream ,
96
96
client_server_map : ClientServerMap ,
97
97
shutdown : Receiver < ( ) > ,
98
- drain : Sender < i8 > ,
98
+ drain : Sender < i32 > ,
99
99
admin_only : bool ,
100
100
) -> Result < ( ) , Error > {
101
101
// Figure out if the client wants TLS or not.
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ async fn main() {
178
178
let mut interrupt_signal = unix_signal ( SignalKind :: interrupt ( ) ) . unwrap ( ) ;
179
179
let mut sighup_signal = unix_signal ( SignalKind :: hangup ( ) ) . unwrap ( ) ;
180
180
let ( shutdown_tx, _) = broadcast:: channel :: < ( ) > ( 1 ) ;
181
- let ( drain_tx, mut drain_rx) = mpsc:: channel :: < i8 > ( 2048 ) ;
181
+ let ( drain_tx, mut drain_rx) = mpsc:: channel :: < i32 > ( 2048 ) ;
182
182
let ( exit_tx, mut exit_rx) = mpsc:: channel :: < ( ) > ( 1 ) ;
183
183
184
184
info ! ( "Waiting for clients" ) ;
You can’t perform that action at this time.
0 commit comments