Pebble App Framework: Phone API
    Preparing search index...

    Variable QUICK_RETRY_WINDOW_MSConst

    QUICK_RETRY_WINDOW_MS: number = ...

    How long the quick retry runs, in milliseconds, before it stops and leaves the slow tick to carry on. The quick retry is there to catch a plugin the wearer is setting up right now. With plugins left off, or a Pebble app from before plugins, it would otherwise wake PebbleKit JS every two minutes for the whole session. A start, a save while the plugin is picked, and opening the settings page each give it the full time again. Its own retries do not.

    The window is counted in retries, 15 of them, and a retry is only spent while the unit sits idle. So a subscription that goes live and ends hours later, such as when the wearer turns plugins off, still has its 30 minutes of quick retries left then. That costs at most 15 more reads of the phone's plugin list, all local. It is worth it because it catches the wearer turning plugins back on within minutes rather than at the next slow tick.