mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 22:13:02 +00:00
dependency upgrades, server and platform module updates, linting wip
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
|
||||
|
||||
var _fakeLRUcount = 0;
|
||||
let _fakeLRUcount = 0;
|
||||
export const fakeDemoRedisCache = {
|
||||
_cache: {},
|
||||
get: (key) => {
|
||||
let cache = fakeDemoRedisCache._cache[key];
|
||||
const cache = fakeDemoRedisCache._cache[key];
|
||||
_fakeLRUcount++;
|
||||
if (_fakeLRUcount >= 10) {
|
||||
fakeDemoRedisCache.clear();
|
||||
|
Reference in New Issue
Block a user