Browse Source

server: fix cache clear interval

master
Milan Pässler 1 year ago
parent
commit
8bf7d4d978
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      server/index.js

+ 1
- 1
server/index.js View File

@@ -8,7 +8,7 @@ let narinfoCache = {};

setInterval(() => {
narinfoCache = {};
}, 24 * 60 * 60); // 24 hours
}, 24 * 60 * 60 * 1000); // 24 hours

const getNarinfo = async (hash) => {
if (!narinfoCache[hash]) {


Loading…
Cancel
Save