From 4aef423788653a920109d1cd4a10ebdf20f60c74 Mon Sep 17 00:00:00 2001 From: Paulo Dias Date: Mon, 28 Oct 2024 12:36:03 +0000 Subject: [PATCH] plugins/oplimits/OperationLimitsSubPanel: Decreased from 30s to 3s the approval valid duration to send by iridium. --- .../lsts/neptus/plugins/oplimits/OperationLimitsSubPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins-dev/oplimits/src/java/pt/lsts/neptus/plugins/oplimits/OperationLimitsSubPanel.java b/plugins-dev/oplimits/src/java/pt/lsts/neptus/plugins/oplimits/OperationLimitsSubPanel.java index b541c4c981..3727d9cd11 100644 --- a/plugins-dev/oplimits/src/java/pt/lsts/neptus/plugins/oplimits/OperationLimitsSubPanel.java +++ b/plugins-dev/oplimits/src/java/pt/lsts/neptus/plugins/oplimits/OperationLimitsSubPanel.java @@ -356,7 +356,7 @@ public boolean send(IMCMessage message) { if (sysL != null && !sysL.isActive()) { boolean userAproveRequest = false; boolean userAproved = true; - if (lastRequest.getTime() + Duration.ofSeconds(30).toMillis() < System.currentTimeMillis()) { + if (lastRequest.getTime() + Duration.ofSeconds(3).toMillis() < System.currentTimeMillis()) { userAproveRequest = true; userAproved = (GuiUtils.confirmDialog(getConsole(), I18n.text("Send by Iridium"), I18n.text("Systems is not active. Do you want to send by Iridium?")) == JOptionPane.YES_OPTION);