Use capped cache for encryption's user access list
This commit is contained in:
parent
68c3b23e04
commit
77caa0e913
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,8 @@
|
|||
|
||||
namespace OC\Encryption;
|
||||
|
||||
use OC\Cache\CappedMemoryCache;
|
||||
|
||||
class File implements \OCP\Encryption\IFile {
|
||||
|
||||
/** @var Util */
|
||||
|
@ -36,6 +38,7 @@ class File implements \OCP\Encryption\IFile {
|
|||
|
||||
public function __construct(Util $util) {
|
||||
$this->util = $util;
|
||||
$this->cache = new CappedMemoryCache();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue