Martin 0x522E
Martin 0x522E
CDCloudflare Developers
Created by Martin 0x522E on 10/23/2023 in #workers-help
Is sending to WebSockets from a DO fully blocking?
This is the code. Had to rename from .ts
16 replies
CDCloudflare Developers
Created by Martin 0x522E on 10/23/2023 in #workers-help
Is sending to WebSockets from a DO fully blocking?
We are try catching and then just ignoring that error. We do have that handler, but we don't do anything with them
16 replies
CDCloudflare Developers
Created by Martin 0x522E on 10/23/2023 in #workers-help
Is sending to WebSockets from a DO fully blocking?
Thanks, yeah the latter makes sense. Just the timeouts are a mystery to me and I don't know how else to debug
16 replies
CDCloudflare Developers
Created by Martin 0x522E on 10/23/2023 in #workers-help
Is sending to WebSockets from a DO fully blocking?
Also the send() message sometimes throws an exception that the WS is already closed. How does that work if that method only gets queued @milan
16 replies
CDCloudflare Developers
Created by Martin 0x522E on 10/23/2023 in #workers-help
Is sending to WebSockets from a DO fully blocking?
The only time I could reproduce it, I had just closed the websocket client, so I don't know if it WOULD have received the message. But as this case triggered the issue, I assumed it might either be blocking or at least that the fetch only returns when the DO is done with all WS messages
16 replies
CDCloudflare Developers
Created by Martin 0x522E on 10/23/2023 in #workers-help
Is sending to WebSockets from a DO fully blocking?
As I can't reproduce it, I also don't know of some messages get out
16 replies
CDCloudflare Developers
Created by Martin 0x522E on 10/23/2023 in #workers-help
Is sending to WebSockets from a DO fully blocking?
Yes exactly, the endpoint just forwards the fetch to the DO and the DO then iterates over all the websockets and sends each the same message. And that fetch then times out while waiting for the response - which would just be an empty 200. So all of this should be basically instant, so I don't understand why we sometimes get timeouts
16 replies
CDCloudflare Developers
Created by Martin 0x522E on 10/23/2023 in #workers-help
Is sending to WebSockets from a DO fully blocking?
@Helpflare who can help with this?
16 replies
CDCloudflare Developers
Created by Elliot Hesp on 7/24/2023 in #pages-help
Pages Logpush not syncing
thanks
11 replies
CDCloudflare Developers
Created by Elliot Hesp on 7/24/2023 in #pages-help
Pages Logpush not syncing
@Erisa | Out of office is this going to change soon? That's really a bummer
11 replies