proxy list: increase cache duration

Change-Id: Icb95715e7296e2b8dc9f9ca5d2574387109a74a0
This commit is contained in:
Adrien Béraud
2024-11-04 23:53:39 -05:00
committed by Adrien Beraud
parent a14bfa333c
commit 48ae481e87

View File

@ -926,7 +926,7 @@ JamiAccount::loadConfig()
if (config().proxyEnabled) {
try {
auto str = fileutils::loadCacheTextFile(cachePath_ / "dhtproxy",
std::chrono::hours(24 * 7));
std::chrono::hours(24 * 14));
Json::Value root;
if (json::parse(str, root)) {
proxyServerCached_ = root[getProxyConfigKey()].asString();