From 1a78a23e7c83b3647c485f9db0dfe355f4ffefa8 Mon Sep 17 00:00:00 2001 From: BenCodez Date: Tue, 17 Oct 2023 16:52:35 -0400 Subject: [PATCH] Shorten shutdown time --- .../src/com/bencodez/votingplugin/VotingPluginMain.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VotingPlugin/src/com/bencodez/votingplugin/VotingPluginMain.java b/VotingPlugin/src/com/bencodez/votingplugin/VotingPluginMain.java index 2956a6607..12173d6fe 100644 --- a/VotingPlugin/src/com/bencodez/votingplugin/VotingPluginMain.java +++ b/VotingPlugin/src/com/bencodez/votingplugin/VotingPluginMain.java @@ -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(); }