Skip to content

Commit

Permalink
修改并发数量
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrric committed Sep 23, 2020
1 parent 7eff29d commit ffd9113
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public void startSecKill(Integer vaccineId, String startDateStr, MainFrame mainF
now = System.currentTimeMillis();
}while (now + 200 < startDate);
logger.info("###########第二波 开始秒杀###########");
for (int i = 0; i < 10; i++) {
for (int i = 0; i < 100; i++) {
service.submit(task);
}
//准点(提前20毫秒)秒杀
Expand Down

0 comments on commit ffd9113

Please sign in to comment.