- From: Jake Archibald <notifications@github.com>
- Date: Thu, 07 May 2020 02:27:41 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 7 May 2020 09:27:53 UTC
> What if I want to run function(which checks indexeddb and if it finds the record in there, makes a fetch request to api endpoint) every 30 minutes The service worker won't stay alive for 30 minutes, so you'll never get that callback. If it did stay alive that long, it'd be bad for user privacy and device resources such as memory and battery. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/issues/838#issuecomment-625139302
Received on Thursday, 7 May 2020 09:27:53 UTC