_matt_
CDCloudflare Developers
•Created by Kaique Anarkrypto on 9/18/2024 in #durable-objects
Persist DO alive during worker deploy
I have a similar issue --
- I'm connecting to a websocket with durable objects but I don't control the other end of the connection.
- When I deploy a change to the Worker or DO, the websocket connection is closed as noted in the docs
- In my application, this hangs up a phone call and I won't be able to reconnect
- I'm thinking of trying a blue/green deploy pattern, I guess that is what you all mention above about deploying into a diff worker
8 replies
CDCloudflare Developers
•Created by ethan on 10/2/2024 in #workers-help
How to catch websocket closed due to code changes
Were you able to solve this? I'm also curious how to manage active websocket connections (in my case on Durable Objects) when new code is deployed
2 replies