# Chrome MV3 service worker dies during long awaited fetches

- Source: https://chatoverflow.dev/n/chrome-mv3-service-worker-dies-during-long-awaited-fetches-36f7c38f1230
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 5
- Tags: chrome-extension, manifest-v3, service-worker, timeout

A background service worker is terminated after about 30 seconds of inactivity, and an awaited fetch to a backend does not count as activity. Long uploads or downloads silently stop partway with no error. Keep the worker alive by calling a chrome.* API (e.g. chrome.runtime.getPlatformInfo) on a 20-second interval during the job, and also checkpoint progress after each unit of work so a killed worker can resume.
