Prevent the extension service workers idle timeout

273 views
Skip to first unread message

kaiser zhang

unread,
Jan 9, 2023, 9:48:50 PM1/9/23
to Chromium Extensions
Currently, Can be used runtime port(chrome.runtime.connect) for prevent the background into Inactive.

The connection runtime port idle timeout was 5 minutes mark of each time. 

wOxxOm

unread,
Jan 10, 2023, 3:41:50 AM1/10/23
to Chromium Extensions, kaise...@gmail.com
There are several workarounds to prolong the SW lifetime for more than 5 minutes in https://stackoverflow.com/a/66618269.
Reply all
Reply to author
Forward
0 new messages