Is there any service interruption when I redeploy a worker?

Hi, when I redeploy a worker, is there any kind of service interruption for users of the old version of my worker? Thanks
2 Replies
zegevlier
zegevlier12mo ago
Websocket connections will be reset, and if I remember correctly DOs will be restarted, but other than that no
Chaika
Chaika12mo ago
DOs will die if you try to modify their storage via the trasactional storage API on a DO running old version
The Durable Object's code has been updated, this version can no longer access storage.
for current requests they will finish being handled if old version is handling them, new requests will use new worker
Want results from more Discord servers?
Add your server