mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-08 16:42:48 +01:00
12 lines
225 B
JavaScript
12 lines
225 B
JavaScript
'use strict';
|
|
|
|
module.exports.create = function (name) {
|
|
const cacheCreate = require('../cacheCreate');
|
|
return cacheCreate({
|
|
name: `${name}-object`,
|
|
max: 40000,
|
|
length: function () { return 1; },
|
|
maxAge: 0,
|
|
});
|
|
};
|