forked from KNEMC/KLALB
修复长时间使用导致连接卡死的故障
优化性能,减少内存占用 提高断线切换的响应速度
This commit is contained in:
@@ -36,7 +36,7 @@ import com.google.gson.stream.JsonReader;
|
||||
public class KLALBClient {
|
||||
|
||||
private UUID suid=UUID.randomUUID();
|
||||
private IOThreadManager iom=new IOThreadManager();
|
||||
private KLALBController iom=new KLALBController();
|
||||
private List<Tunnel> tls=new ArrayList<>();
|
||||
private List<TCPListener> tcpl=new ArrayList<>();
|
||||
private List<ProxyElement> pet=new ArrayList<>();
|
||||
@@ -114,7 +114,7 @@ public class KLALBClient {
|
||||
}
|
||||
try {
|
||||
//System.out.println(re);
|
||||
Thread.sleep(1000*(1<<Math.min(re,7)));
|
||||
Thread.sleep(5000*(1<<Math.min(re,3)));
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user