Decrease polling rate
This commit is contained in:
parent
4ae86f3284
commit
ffba917aae
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue