门店号管理

dev_0531
LegnaYet 5 years ago
parent df36c26894
commit 4a644581f3

@ -34,7 +34,7 @@ public class CustomerDataJob {
// 指定 ring buffer字节大小必需为2的N次方(能将求模运算转为位运算提高效率 ),否则影响性能
private static final int BUFFER_SIZE = 1024 * 1024;
//固定线程数
private static final int THREAD_NUMBERS = 50;
private static final int THREAD_NUMBERS = 60;
@Autowired
@ -75,6 +75,8 @@ public class CustomerDataJob {
disruptor.start();
Long start = System.currentTimeMillis();
int index = 0;
DetailDTOMessageEventProducer producer = new DetailDTOMessageEventProducer(ringBuffer, qwMailListManageService, customerService, poiStoreStaffDOMapper);
if (StringUtils.isBlank(cpUserIds)) {
@ -146,6 +148,8 @@ public class CustomerDataJob {
disruptor.shutdown();
Long end = System.currentTimeMillis();
log.debug("同步明细耗时:"+(end-start));
}
public void handleList(List<String> cpUserIds) {

Loading…
Cancel
Save