From a23c0fffa9c582f64267a9a92840d77409f59164 Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 7 Jan 2021 12:39:54 +0100 Subject: [PATCH] Increase default prompt timeout to 60s --- firewall/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firewall/config.go b/firewall/config.go index 7bc9052b..4119e27f 100644 --- a/firewall/config.go +++ b/firewall/config.go @@ -70,7 +70,7 @@ func registerConfig() error { Description: "How long the Portmaster will wait for a reply to a prompt notification. Please note that Desktop Notifications might not respect this or have their own limits.", OptType: config.OptTypeInt, ExpertiseLevel: config.ExpertiseLevelUser, - DefaultValue: 20, + DefaultValue: 60, Annotations: config.Annotations{ config.DisplayOrderAnnotation: cfgOptionAskTimeoutOrder, config.UnitAnnotation: "seconds", @@ -80,7 +80,7 @@ func registerConfig() error { if err != nil { return err } - askTimeout = config.Concurrent.GetAsInt(CfgOptionAskTimeoutKey, 15) + askTimeout = config.Concurrent.GetAsInt(CfgOptionAskTimeoutKey, 60) devMode = config.Concurrent.GetAsBool(core.CfgDevModeKey, false) apiListenAddress = config.GetAsString(api.CfgDefaultListenAddressKey, "")