Logo
Explore Help
Register Sign In
Nemcio/NodeBB
1
0
Fork 0
You've already forked NodeBB
mirror of https://github.com/NodeBB/NodeBB.git synced 2026-01-05 23:30:36 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
4ee0f1459d8095f2d33daef1d0a00c0a474c49b4
NodeBB/src/database/cache.js

12 lines
225 B
JavaScript
Raw Normal View History

add cache to redis (#6917) * add cache to redis move out cache module from mongo * fix redis tests * add callback noop * fix typo * del cache on field delete * make redis/mongo caches separate
2018-11-07 15:04:56 -05:00
'use strict';
module.exports.create = function (name) {
feat: #8824, cache refactor (#8851) * feat: #8824, cache refactor ability to disable caches ability to download contents of cache refactor cache modules to remove duplicated code * fix: remove duplicate hit/miss tracking check cacheEnabled in getUncachedKeys
2020-11-06 23:13:12 -05:00
const cacheCreate = require('../cacheCreate');
return cacheCreate({
name: name + '-object',
feat: up cache size
2020-05-22 13:06:21 -04:00
max: 40000,
add cache to redis (#6917) * add cache to redis move out cache module from mongo * fix redis tests * add callback noop * fix typo * del cache on field delete * make redis/mongo caches separate
2018-11-07 15:04:56 -05:00
length: function () { return 1; },
maxAge: 0,
});
};
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 146ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API