Commit 97447aa4 authored by 郝彦辉's avatar 郝彦辉

黑灰名单2020.04.22_05

parent 9d5d7079
...@@ -51,7 +51,8 @@ public class BlackGreyListServiceImpl implements IBlackGreyListService { ...@@ -51,7 +51,8 @@ public class BlackGreyListServiceImpl implements IBlackGreyListService {
@Autowired @Autowired
private UpdateBlackListOverdueDayParallel updateBlackListOverdueDayParallel; 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<>(); //private static Map<String, Integer> channelBlackListExpireConfigMap = new ConcurrentHashMap<>();
/*@PostConstruct /*@PostConstruct
......
...@@ -43,7 +43,7 @@ public class BlackToGreyListParallel implements ParallelComputingProcess<BlackGr ...@@ -43,7 +43,7 @@ public class BlackToGreyListParallel implements ParallelComputingProcess<BlackGr
//并行处理框架 //并行处理框架
private ParallelComputing<BlackGreyListResult, Set<String>> p = new ParallelComputing<BlackGreyListResult, Set<String>>("BlackToGreyListParallel"); 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 @Autowired
private BlackGreyListMapper blackGreyListMapper; private BlackGreyListMapper blackGreyListMapper;
......
...@@ -44,7 +44,7 @@ public class UpdateBlackListOverdueDayParallel implements ParallelComputingProce ...@@ -44,7 +44,7 @@ public class UpdateBlackListOverdueDayParallel implements ParallelComputingProce
//并行处理框架 //并行处理框架
private ParallelComputing<BlackGreyListResult, Set<String>> p = new ParallelComputing<BlackGreyListResult, Set<String>>("UpdateBlackListOverdueDay"); 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 @Autowired
private BlackGreyListMapper blackGreyListMapper; private BlackGreyListMapper blackGreyListMapper;
......
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