Commit 7ed956d5 by 章家宝

fix:删除没有必要的代码

1 parent 6b82acf8
...@@ -22,15 +22,11 @@ public class LightPoollingAuctionSchedule { ...@@ -22,15 +22,11 @@ public class LightPoollingAuctionSchedule {
*/ */
@Scheduled(fixedDelay = 1000, initialDelay = 1000 * 5) @Scheduled(fixedDelay = 1000, initialDelay = 1000 * 5)
public void autoBidding() { public void autoBidding() {
// log.info("自动竞价定时任务");
long start = System.currentTimeMillis(); long start = System.currentTimeMillis();
try { try {
auctionService.autoBidding(); auctionService.autoBidding();
} catch (Exception e) { } catch (Exception e) {
log.error("自动竞价定时任务异常", e); log.error("自动竞价定时任务异常", e);
} finally {
// long end = System.currentTimeMillis();
// log.info("自动竞价定时任务耗时{}ms", end - start);
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!