zehawk
zehawk
CDCloudflare Developers
Created by lukejacksonn on 10/24/2024 in #durable-objects
Hey 👋 I have a DO based off of this
No description
21 replies
CDCloudflare Developers
Created by zehawk on 4/15/2025 in #durable-objects
I see that the worker websocket is
@boop you are a star, TY for pointing me to exactly what I needed.
10 replies
CDCloudflare Developers
Created by lukejacksonn on 10/24/2024 in #durable-objects
Hey 👋 I have a DO based off of this
@lukejacksonn @Milan TY, this was very useful. Came from here https://discord.com/channels/595317990191398933/773219443911819284/1361684774288101538
21 replies
CDCloudflare Developers
Created by zehawk on 4/15/2025 in #durable-objects
I see that the worker websocket is
So yes, sending any random WS message at 4min intervals prevents the timeout. I assume that the DO has to keep waking up to handle this, and to prevent that I should use setWebSocketAutoResponse. Is there a working example for this method since the doc leaves a lot to be desired.
10 replies
CDCloudflare Developers
Created by zehawk on 4/15/2025 in #durable-objects
I see that the worker websocket is
Yup, thanks, thats what I'm adding now to see how the behavior changes
10 replies
CDCloudflare Developers
Created by zehawk on 4/15/2025 in #durable-objects
I see that the worker websocket is
When I do the test with wrangler dev --remote, the timeout is consistently 1 min
10 replies
CDCloudflare Developers
Created by zehawk on 4/15/2025 in #durable-objects
I see that the worker websocket is
So it seems to be a timeout on CF side, so that begs the questions (a) why is it so low? (b) where's the doc on this (c) is it controllable?
10 replies
CDCloudflare Developers
Created by zehawk on 4/15/2025 in #durable-objects
I see that the worker websocket is
No description
10 replies