mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-08-20 00:13:55 +02:00
Update LRU cache backend used for NNTP server
This commit is contained in:
parent
35047dabca
commit
b2fda13085
2 changed files with 2 additions and 2 deletions
|
|
@ -125,7 +125,7 @@ class NNTPServer extends NNTPServerBase {
|
|||
const config = Config();
|
||||
this.groupCache = new LRU({
|
||||
max : _.get(config, 'contentServers.nntp.cache.maxItems', 200),
|
||||
maxAge : _.get(config, 'contentServers.nntp.cache.maxAge', 1000 * 30), // default=30s
|
||||
ttl : _.get(config, 'contentServers.nntp.cache.maxAge', 1000 * 30), // default=30s
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue