Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wecloud_im_server
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hewei
wecloud_im_server
Commits
18eef79a
Commit
18eef79a
authored
Feb 05, 2022
by
hewei
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'upay-test' into 'upay-prod'
Upay test See merge request
!18
parents
6cca8f14
a23addc9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
common/src/main/java/com/wecloud/im/executor/BusinessThreadPool.java
+2
-2
No files found.
common/src/main/java/com/wecloud/im/executor/BusinessThreadPool.java
View file @
18eef79a
...
@@ -21,8 +21,8 @@ public class BusinessThreadPool {
...
@@ -21,8 +21,8 @@ public class BusinessThreadPool {
* 业务处理线程池
* 业务处理线程池
*/
*/
public
final
static
ExecutorService
BUSINESS_TASK_THREAD_POOL_EXECUTOR
=
public
final
static
ExecutorService
BUSINESS_TASK_THREAD_POOL_EXECUTOR
=
new
ThreadPoolExecutor
(
WsConstants
.
CPU_PROCESSORS
,
WsConstants
.
CPU_PROCESSORS
*
2
,
new
ThreadPoolExecutor
(
WsConstants
.
CPU_PROCESSORS
,
WsConstants
.
CPU_PROCESSORS
*
5
,
60L
,
TimeUnit
.
MILLISECONDS
,
60L
,
TimeUnit
.
MILLISECONDS
,
new
LinkedBlockingQueue
<
Runnable
>(
1024
*
2
),
BUSINESS_THREAD_FACTORY
,
new
ThreadPoolExecutor
.
CallerRunsPolicy
());
new
LinkedBlockingQueue
<
Runnable
>(
1024
0
),
BUSINESS_THREAD_FACTORY
,
new
ThreadPoolExecutor
.
CallerRunsPolicy
());
}
}
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