Skip to content
This repository was archived by the owner on Dec 7, 2021. It is now read-only.

Commit fc28cd8

Browse files
committed
chore(StatisticsConntroller): set cache expiration to 5min
1 parent 526d891 commit fc28cd8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/controllers/public/methods/collectStatistics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ async function collectBotStatistics() {
5757
shards: arr,
5858
stats,
5959
};
60-
cache.expires = Date.now() + 1000 * 20000;
60+
cache.expires = Date.now() + 1000 * 60 * 5;
6161
}
6262

6363
return { shards: arr, ...stats };

0 commit comments

Comments
 (0)