|
|
@@ -22,13 +22,19 @@ public class WXListenService {
|
|
|
ThreadPoolFactory.defaultPool().submit(() -> {
|
|
|
Long start = System.currentTimeMillis();
|
|
|
userManagementService.listenWx(xmlData);
|
|
|
- log.info("listenWx userManagementService cost: {} ms", System.currentTimeMillis() - start);
|
|
|
+ Long end = System.currentTimeMillis();
|
|
|
+ if (end - start > 100) {
|
|
|
+ log.warn("listenWx userManagementService cost: {} ms", end - start);
|
|
|
+ }
|
|
|
});
|
|
|
|
|
|
ThreadPoolFactory.defaultPool().submit(() -> {
|
|
|
Long start = System.currentTimeMillis();
|
|
|
messageSendCallbackService.listenWx(xmlData);
|
|
|
- log.info("listenWx messageSendCallbackService cost: {} ms", System.currentTimeMillis() - start);
|
|
|
+ Long end = System.currentTimeMillis();
|
|
|
+ if (end - start > 100) {
|
|
|
+ log.warn("listenWx messageSendCallbackService cost: {} ms", end - start);
|
|
|
+ }
|
|
|
});
|
|
|
|
|
|
}
|