Deploying new versions of scripts?
My script has Durable Objects which can have WebSockets connected to them.
When I deploy a new version of the script is it possible that the old instance is not shutdown immediately and the new one is not started until all the web sockets have been disconnected?
2 Replies
I don't think so. I'd suggest building your clients so that they reconnect/retry. This helps with random network problems, and also if you push out an update.
And by "reset", do you mean that the old isolate gets shut down and a new isolate gets created with the new code running in it?