message.txt3.48KB

setTimeout in a few seconds in the future each time. If there is no incoming request or alarm trigger for 10s the DO will be evicted from memory and destroyed after 1-2 minutes, so make sure to schedule one of the above every [5, 10) seconds.https://api.cloudflare.com/client/v4/accounts/:account_id/workers/durable_objects/namespaces/:namespace/objects

await updateBuddyList(this, request, update), instead of await updateBuddyList(this, request, update);
topic parameter when accepting a hibernated Websocket, then using getWebSockets(topic) to get required buddiesdurable-utils librarybuddy-1 is undergoing too much load, just spin up buddy-1-shard1 to help handle load, you would just need to design that logic yourself