mirror of
https://github.com/safing/portmaster
synced 2025-09-02 02:29:12 +00:00
Increase default prompt timeout to 60s
This commit is contained in:
parent
a25f9eba45
commit
a23c0fffa9
1 changed files with 2 additions and 2 deletions
|
@ -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.",
|
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,
|
OptType: config.OptTypeInt,
|
||||||
ExpertiseLevel: config.ExpertiseLevelUser,
|
ExpertiseLevel: config.ExpertiseLevelUser,
|
||||||
DefaultValue: 20,
|
DefaultValue: 60,
|
||||||
Annotations: config.Annotations{
|
Annotations: config.Annotations{
|
||||||
config.DisplayOrderAnnotation: cfgOptionAskTimeoutOrder,
|
config.DisplayOrderAnnotation: cfgOptionAskTimeoutOrder,
|
||||||
config.UnitAnnotation: "seconds",
|
config.UnitAnnotation: "seconds",
|
||||||
|
@ -80,7 +80,7 @@ func registerConfig() error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
askTimeout = config.Concurrent.GetAsInt(CfgOptionAskTimeoutKey, 15)
|
askTimeout = config.Concurrent.GetAsInt(CfgOptionAskTimeoutKey, 60)
|
||||||
|
|
||||||
devMode = config.Concurrent.GetAsBool(core.CfgDevModeKey, false)
|
devMode = config.Concurrent.GetAsBool(core.CfgDevModeKey, false)
|
||||||
apiListenAddress = config.GetAsString(api.CfgDefaultListenAddressKey, "")
|
apiListenAddress = config.GetAsString(api.CfgDefaultListenAddressKey, "")
|
||||||
|
|
Loading…
Add table
Reference in a new issue