X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=php%2Fplc_api.php;fp=php%2Fplc_api.php;h=886825cf295311352e2844acfd2d0ddb15d8a6b5;hb=b2577abd4dc87458a35788708d4a69341398ee09;hp=fed47592a597e443ad16f0bcfd5ceb1e68023645;hpb=3e721f4958c84b425da4b5c925b0b4bea9285858;p=plcapi.git diff --git a/php/plc_api.php b/php/plc_api.php index fed4759..886825c 100644 --- a/php/plc_api.php +++ b/php/plc_api.php @@ -132,7 +132,7 @@ class PLCAPI $key = $this->generateKey($method, $args); if ($key != NULL) { - $memcache->set($key, $result == NULL ? "NULL" : $result, false, 6000); + $memcache->set($key, $result == NULL ? "NULL" : $result, MEMCACHE_COMPRESSED, 600); } } return $result;