summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-11 14:02:24 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-11 14:02:24 +0100
commit27a4c9f625d729956c6fefedb540629b8e1a90e3 (patch)
treeb506bc69b64ac213548cfd02205e5b8e67d10e14 /lib
parent26939a28730eb7b3417cd02bb6c35ef748cced11 (diff)
parent2efb97ba09de763dee2ef479828e939006a3307d (diff)
downloadnextcloud-server-27a4c9f625d729956c6fefedb540629b8e1a90e3.tar.gz
nextcloud-server-27a4c9f625d729956c6fefedb540629b8e1a90e3.zip
Merge pull request #22308 from owncloud/shorter-ttl-find-path
Shorter TTL on findBinaryPath caching
Diffstat (limited to 'lib')
-rw-r--r--lib/private/helper.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/helper.php b/lib/private/helper.php
index 495f95e72d2..23068330f81 100644
--- a/lib/private/helper.php
+++ b/lib/private/helper.php
@@ -583,7 +583,8 @@ class OC_Helper {
}
}
}
- $memcache->set($program, $result, 3600);
+ // store the value for 5 minutes
+ $memcache->set($program, $result, 300);
return $result;
}