Commit 16781570 authored by 赵啸非's avatar 赵啸非

修正redis 最大连接数

parent 6306cc8b
...@@ -51,12 +51,17 @@ public class DeviceSendThirdPartyService implements IApplicationStartedService { ...@@ -51,12 +51,17 @@ public class DeviceSendThirdPartyService implements IApplicationStartedService {
log.info("sendThirty resp ==>{}", JSON.toJSONString(resp)); log.info("sendThirty resp ==>{}", JSON.toJSONString(resp));
} }
try {
Thread.sleep(waitTime);
} catch (InterruptedException e2) {
}
} catch (Exception e) { } catch (Exception e) {
if (!stopped) { log.error("异常", e);
try {
Thread.sleep(waitTime); try {
} catch (InterruptedException e2) { Thread.sleep(waitTime);
} } catch (InterruptedException e2) {
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment