Skip to content

Commit

Permalink
Shorten shutdown time
Browse files Browse the repository at this point in the history
  • Loading branch information
BenCodez committed Oct 17, 2023
1 parent 16cdfec commit 1a78a23
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1284,7 +1284,7 @@ public void onUnLoad() {
}
voteTimer.shutdown();
try {
voteTimer.awaitTermination(10, TimeUnit.SECONDS);
voteTimer.awaitTermination(1, TimeUnit.SECONDS);
} catch (InterruptedException e) {
e.printStackTrace();
}
Expand Down

0 comments on commit 1a78a23

Please sign in to comment.