feat: update url ü frequency
This commit is contained in:
parent
3c2e1e42a7
commit
d780301610
1 changed files with 2 additions and 2 deletions
|
|
@ -8,10 +8,10 @@ const LanaGrossaIntegrationInstance = new LanaGrossaIntegration();
|
||||||
// start update every 24 hours
|
// start update every 24 hours
|
||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
LanaGrossaIntegrationInstance.RunFetcher();
|
LanaGrossaIntegrationInstance.RunFetcher();
|
||||||
}, 1000 * 60 * 60 * 1);
|
}, 1000 * 60 * 60 * 3);
|
||||||
LanaGrossaIntegrationInstance.RunFetcher();
|
LanaGrossaIntegrationInstance.RunFetcher();
|
||||||
|
|
||||||
server.get("/stats", async (request, reply) => {
|
server.get("/", async (request, reply) => {
|
||||||
const CurrentStats = LanaGrossaIntegrationInstance.CurrentStats;
|
const CurrentStats = LanaGrossaIntegrationInstance.CurrentStats;
|
||||||
const StatList = LanaGrossaIntegrationInstance.StatList;
|
const StatList = LanaGrossaIntegrationInstance.StatList;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue