mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-30 19:52:17 +01:00
Correct TTL for thumbnail cache.
This commit is contained in:
parent
9d313b1a1e
commit
b135758715
@ -612,7 +612,7 @@ class Contact extends VObject\VCard implements IPIMObject {
|
||||
return false;
|
||||
}
|
||||
// Cache as base64 for around a month
|
||||
\OC_Cache::set(self::THUMBNAIL_PREFIX . $key, strval($image), 3000); //3000000);
|
||||
\OC_Cache::set(self::THUMBNAIL_PREFIX . $key, strval($image), 3000000);
|
||||
\OCP\Util::writeLog('contacts', 'Caching ' . $key, \OCP\Util::DEBUG);
|
||||
return \OC_Cache::get(self::THUMBNAIL_PREFIX . $key);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user