Page MenuHomePhorge

D25833.1737019672.diff
No OneTemporary

D25833.1737019672.diff

diff --git a/src/infrastructure/cache/PhutilAPCKeyValueCache.php b/src/infrastructure/cache/PhutilAPCKeyValueCache.php
--- a/src/infrastructure/cache/PhutilAPCKeyValueCache.php
+++ b/src/infrastructure/cache/PhutilAPCKeyValueCache.php
@@ -44,6 +44,10 @@
$is_apcu = self::isAPCu();
}
+ if ($ttl === null) {
+ $ttl = 0;
+ }
+
// NOTE: Although modern APC supports passing an array to `apc_store()`,
// it is not supported by older version of APC or by HPHP.

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 16, 09:27 (4 d, 16 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1118059
Default Alt Text
D25833.1737019672.diff (494 B)

Event Timeline