Decrease polling rate

This commit is contained in:
JKamsker 2022-09-24 00:01:00 +02:00
parent 4ae86f3284
commit ffba917aae

View file

@ -46,7 +46,7 @@ serviceWorker.unregister()
async function WakeUp() { async function WakeUp() {
while (true) { while (true) {
let timeout = 1000 * 10; // 10 seconds let timeout = 1000 * 60; // 60 seconds
try { try {
await fetch('https://api.audible-converter.ml/api/v2/WakeUpNeo') await fetch('https://api.audible-converter.ml/api/v2/WakeUpNeo')
console.log('Woke up') console.log('Woke up')