Selaa lähdekoodia

调整无响应异常超时时间,调整发送指令挂起时间。

tom 6 kuukautta sitten
vanhempi
commit
a03c790ea1

+ 3 - 3
ruoyi-sim/src/main/java/com/ruoyi/sim/service/impl/CommConst.java

@@ -54,13 +54,13 @@ public interface CommConst {
     /**
      * 请求间隔睡眠时间-long
      */
-    Long SLEEP_LONG = 1024L;
+    Long SLEEP_LONG = 200L;
     /**
      * 请求间隔睡眠时间-short
      */
-    Long SLEEP_SHORT = 256L;
+    Long SLEEP_SHORT = 50L;
 
-    int SOCKET_TIME_OUT = 1536;
+    int SOCKET_TIME_OUT = 200;
 
     String[] TYPE_1_BIND_MSG = new String[]{"01", "02", "03", "04", "05",
             "06", "07", "08", "09", "0A"};