This commit is contained in:
Evgeny Poberezkin
2024-05-15 15:15:59 +01:00
parent 6d19033375
commit 16d79da73e
2 changed files with 7 additions and 2 deletions
+2 -1
View File
@@ -244,7 +244,8 @@ smpServerCLI cfgPath logPath =
hostMode = either (const HMPublic) textToHostMode $ lookupValue "PROXY" "host_mode" ini,
requiredHostMode = fromMaybe False $ iniOnOff "PROXY" "required_host_mode" ini
}
}
},
persistErrorInterval = 30 -- seconds
},
allowSMPProxy = True
}
+5 -1
View File
@@ -133,7 +133,11 @@ proxyCfg =
cfgV7
{ allowSMPProxy = True,
smpServerVRange = mkVersionRange batchCmdsSMPVersion sendingProxySMPVersion,
smpAgentCfg = defaultSMPClientAgentConfig {smpCfg = (smpCfg defaultSMPClientAgentConfig) {serverVRange = proxyVRange, agreeSecret = True}}
smpAgentCfg =
defaultSMPClientAgentConfig
{ smpCfg = (smpCfg defaultSMPClientAgentConfig) {serverVRange = proxyVRange, agreeSecret = True},
persistErrorInterval = 3 -- seconds
}
}
proxyVRange :: VersionRangeSMP