Jacob Marshall
Jacob Marshall
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
And without changing the code... the fix I rolled out yesterday has magically stopped working. So it must not have been it 😢
23 replies
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
Well I thought that was the issue... but I'm trying to put together a repo that can reproduce this issue without all my application logic... but it's proving difficult.
23 replies
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
It turns out it absolutely was this, haha!
23 replies
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
And it's 2am here. So I best head off. But if I haven't heard back in the morning, I'll probably start putting some more info in this thread.
23 replies
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
Rita has cc'd somebody to take a look, so it's probably not worth you taking a look 😛
23 replies
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
I don't think that's it though. Because one of my DOs does some async work inbetween, and the other doesn't. But they both have this issue.
23 replies
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
If I create a WebSocketPair, use ctx.acceptWebSocket to "accept" it, but before I return the response with one part of the WebSocketPair, I perform some async work... does that screw with things?
23 replies
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
I just had a thought...
23 replies
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
Oh it's only on specific requests. I had no alarm set during the screenshots above, sorry for the confusion. I simply meant that I was utilising the alarm API instead of ever using setTimeout/setInterval anywhere.
23 replies
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
I'm using ctx.acceptWebSocket and ctx.storage.setAlarm for that kinda stuff.
23 replies
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
Correct
23 replies
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
So I was just composing that email haha 😛
23 replies
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
I actually just reached out to Rita via Twitter DMs, and she has asked me to send her an email with some info.
23 replies
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
Oh sorry Milan!
23 replies