0

I am in the process of migrating v2 Chrome extension to Manifest V3 format. enter image description here

Why service worker would be disconnected after about 5 mins, and is there any way to solve this problem? for this, I have to reconnect the worker when it disconnected.

  • You need to reconnect **before** 5 minutes elapse by using setTimeout in onConnect listener, [more info](/a/66618269). – wOxxOm Apr 07 '22 at 07:53

0 Answers0