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

修正redis 最大连接数

parent 6306cc8b
......@@ -51,12 +51,17 @@ public class DeviceSendThirdPartyService implements IApplicationStartedService {
log.info("sendThirty resp ==>{}", JSON.toJSONString(resp));
}
try {
Thread.sleep(waitTime);
} catch (InterruptedException e2) {
}
} catch (Exception e) {
if (!stopped) {
try {
Thread.sleep(waitTime);
} catch (InterruptedException e2) {
}
log.error("异常", e);
try {
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