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

修正redis 最大连接数

parent 1782ed8b
...@@ -9,8 +9,6 @@ import org.springframework.beans.factory.annotation.Autowired; ...@@ -9,8 +9,6 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import static com.mortals.xhx.common.key.Constant.SEND_INTEVEL;
@Component @Component
@Slf4j @Slf4j
public class DeviceSendThirdPartyService implements IApplicationStartedService { public class DeviceSendThirdPartyService implements IApplicationStartedService {
...@@ -33,7 +31,7 @@ public class DeviceSendThirdPartyService implements IApplicationStartedService { ...@@ -33,7 +31,7 @@ public class DeviceSendThirdPartyService implements IApplicationStartedService {
public void start() { public void start() {
log.info("初始化发送线程数量"); log.info("初始化发送线程数量");
//启动短信发送响应更新线程 //启动短信发送响应更新线程
sendTaskThreadPool.execute(() -> { /* sendTaskThreadPool.execute(() -> {
int waitTime = SEND_INTEVEL; int waitTime = SEND_INTEVEL;
while (!stopped) { while (!stopped) {
try { try {
...@@ -58,7 +56,7 @@ public class DeviceSendThirdPartyService implements IApplicationStartedService { ...@@ -58,7 +56,7 @@ public class DeviceSendThirdPartyService implements IApplicationStartedService {
} }
} }
} }
}); });*/
} }
......
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