forked from GNUsocial/gnu-social
Memcache::set() 3rd param should be flags (4th is expire). This throws a "2 lowest bytes reserved" error in Memcache > 3.0.3
This commit is contained in:
parent
cb74822e7a
commit
8ac8f3d2dc
@ -99,7 +99,7 @@ class Status_network_tag extends Safe_DataObject
|
||||
|
||||
if (Status_network::$cache) {
|
||||
$packed = implode('|', $result);
|
||||
Status_network::$cache->set($key, $packed, 3600);
|
||||
Status_network::$cache->set($key, $packed, 0, 3600);
|
||||
}
|
||||
|
||||
return $result;
|
||||
|
Loading…
Reference in New Issue
Block a user