src/main/java/com/zy/core/thread/RgvThread.java
@@ -78,20 +78,6 @@ @SuppressWarnings("InfiniteLoopStatement") public void run() { initRgv(); try{ Thread.sleep(2000); } catch (Exception e){ } connectRgv = this.connect(); while(!connectRgv){ try { connectRgv = this.connect(); Thread.sleep(100); } catch (Exception e){ } } // 启动线程自动重连 new Thread(this::rgvConnect).start(); @@ -283,7 +269,7 @@ try { if(!connectRgv){ try { Thread.sleep(1000L); Thread.sleep(100L); } catch (Exception e){ }