Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qg-bl-service
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data-spider
qg-bl-service
Commits
97447aa4
Commit
97447aa4
authored
Apr 22, 2020
by
郝彦辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
黑灰名单2020.04.22_05
parent
9d5d7079
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
BlackGreyListServiceImpl.java
...up/qgblservice/service/impl/BlackGreyListServiceImpl.java
+2
-1
BlackToGreyListParallel.java
...oup/qgblservice/service/impl/BlackToGreyListParallel.java
+1
-1
UpdateBlackListOverdueDayParallel.java
...rvice/service/impl/UpdateBlackListOverdueDayParallel.java
+1
-1
No files found.
src/main/java/cn/quantgroup/qgblservice/service/impl/BlackGreyListServiceImpl.java
View file @
97447aa4
...
...
@@ -51,7 +51,8 @@ public class BlackGreyListServiceImpl implements IBlackGreyListService {
@Autowired
private
UpdateBlackListOverdueDayParallel
updateBlackListOverdueDayParallel
;
private
static
int
pageSize
=
10000
;
//private static int pageSize = 10000;
private
static
int
pageSize
=
5000
;
//private static Map<String, Integer> channelBlackListExpireConfigMap = new ConcurrentHashMap<>();
/*@PostConstruct
...
...
src/main/java/cn/quantgroup/qgblservice/service/impl/BlackToGreyListParallel.java
View file @
97447aa4
...
...
@@ -43,7 +43,7 @@ public class BlackToGreyListParallel implements ParallelComputingProcess<BlackGr
//并行处理框架
private
ParallelComputing
<
BlackGreyListResult
,
Set
<
String
>>
p
=
new
ParallelComputing
<
BlackGreyListResult
,
Set
<
String
>>(
"BlackToGreyListParallel"
);
private
static
int
THREAD_COUNT
=
ConstantBlackGrey
.
PARAM
.
SYS_CPU_COUNT
*
4
;
private
static
int
THREAD_COUNT
=
ConstantBlackGrey
.
PARAM
.
SYS_CPU_COUNT
*
2
;
@Autowired
private
BlackGreyListMapper
blackGreyListMapper
;
...
...
src/main/java/cn/quantgroup/qgblservice/service/impl/UpdateBlackListOverdueDayParallel.java
View file @
97447aa4
...
...
@@ -44,7 +44,7 @@ public class UpdateBlackListOverdueDayParallel implements ParallelComputingProce
//并行处理框架
private
ParallelComputing
<
BlackGreyListResult
,
Set
<
String
>>
p
=
new
ParallelComputing
<
BlackGreyListResult
,
Set
<
String
>>(
"UpdateBlackListOverdueDay"
);
private
static
int
THREAD_COUNT
=
ConstantBlackGrey
.
PARAM
.
SYS_CPU_COUNT
*
4
;
private
static
int
THREAD_COUNT
=
ConstantBlackGrey
.
PARAM
.
SYS_CPU_COUNT
*
2
;
@Autowired
private
BlackGreyListMapper
blackGreyListMapper
;
...
...
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