change to 1 second
This commit is contained in:
parent
f79b0d8094
commit
4f36e1b870
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -34,7 +34,7 @@ if (mode == 'cli') {
|
|||
} else if (mode == 'site') {
|
||||
const app = e();
|
||||
app.get('/top', async (req, res) => {
|
||||
if ((new Date) - cacheDate < 1000*10) {
|
||||
if ((new Date) - cacheDate < 1000*1) {
|
||||
res.send(cache);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue