Browse Source

fix: set keepalive_intvl to 3s

Yujia Qiao 4 năm trước cách đây
mục cha
commit
9ad61b5fdc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/transport/mod.rs

+ 1 - 1
src/transport/mod.rs

@@ -12,7 +12,7 @@ use tracing::{error, trace};
 pub static DEFAULT_NODELAY: bool = false;
 
 pub static DEFAULT_KEEPALIVE_SECS: u64 = 10;
-pub static DEFAULT_KEEPALIVE_INTERVAL: u64 = 5;
+pub static DEFAULT_KEEPALIVE_INTERVAL: u64 = 3;
 
 /// Specify a transport layer, like TCP, TLS
 #[async_trait]