feat: pending test
This commit is contained in:
@@ -54,7 +54,7 @@ pub async fn run(listen_config: &ListenConfig) -> XResult<()> {
|
||||
information!("Get connection: {} - {}", client_stream_time, client_stream.peer_addr().unwrap());
|
||||
let time = util_time::get_current_millis();
|
||||
if (time as i128 - client_stream_time as i128).abs() > 3_000 {
|
||||
warning!("Connection is more than 3 second, abandon connection");
|
||||
warning!("Connection is more than 3 seconds, abandon connection");
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user