Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
device-new-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
device-new-platform
Commits
c81af420
Commit
c81af420
authored
Jun 18, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修正redis 最大连接数
parent
1782ed8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
device-manager/src/main/java/com/mortals/xhx/daemon/applicationservice/DeviceSendThirdPartyService.java
...aemon/applicationservice/DeviceSendThirdPartyService.java
+2
-4
No files found.
device-manager/src/main/java/com/mortals/xhx/daemon/applicationservice/DeviceSendThirdPartyService.java
View file @
c81af420
...
@@ -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 {
}
}
}
}
}
}
});
});
*/
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment