Skip to content

Commit

Permalink
微调时间
Browse files Browse the repository at this point in the history
  • Loading branch information
AylaAsia-wangxiaodong committed Sep 14, 2021
1 parent 0eb1d37 commit 57e40f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/github/lyrric/service/SecKillService.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ public void startSecKill(Integer vaccineId, String startDateStr, MainFrame mainF
}

service.submit(new SecKillRunnable(false, httpService, vaccineId, startDate));
Thread.sleep(500);
Thread.sleep(200);
service.submit(new SecKillRunnable(true, httpService, vaccineId, startDate));
Thread.sleep(500);
Thread.sleep(200);
service.submit(new SecKillRunnable(false, httpService, vaccineId, startDate));
service.shutdown();
//等待线程结束
Expand Down

0 comments on commit 57e40f2

Please sign in to comment.