For Workers & Pages, what is the name of the domain?
workers.dev
What is the issue or error you’re encountering
Question: Connection Duration Limit clarification for websocket worker
What steps have you taken to resolve the issue?
I was reading the limits page here and saw this note in Duration section
Limits · Cloudflare Workers docs which says that worker runtime can terminate multiple times in a week for maintainance and the workers have 30sec max to terminate the request. My question is how does this impact websocket persistent connections which will stay open for more than 30seconds. If 100 clients are connected via websocket at that moment, would they all be disconnected?
This is the exact note mentioned
Note
Cloudflare updates the Workers runtime a few times per week. When this happens, any in-flight requests are given a grace period of 30 seconds to finish. If a request does not finish within this time, it is terminated. While your application should follow the best practice of handling disconnects by retrying requests, this scenario is extremely improbable. To encounter it, you would need to have a request that takes longer than 30 seconds that also happens to intersect with the exact time an update to the runtime is happening.
I saw this thread which mentiones it for network. Can someone confirm if this status is available of 1001 in Workers as well?