mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
proxy list: increase cache duration
Change-Id: Icb95715e7296e2b8dc9f9ca5d2574387109a74a0
This commit is contained in:

committed by
Adrien Beraud

parent
a14bfa333c
commit
48ae481e87
@ -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();
|
||||
|
Reference in New Issue
Block a user