My Durable Object is getting stuck. Are there any concurrent connection limits?

For Workes & Pages, what is the name of the domain?

socketless-chat-demo.pages.dev

What is the issue or error you’re encountering

The DO gets stuck without processing websocket messages

What are the steps to reproduce the issue?

I use a postgres pool to connect to my DB + logging with posthog for each message, and if a lot of messages are spammed, the DO gets stuck for 30-60 seconds. My first hypothesis is that there’s a maximum of concurrent connections going out, and using a pool from postgres is getting them.

My question is, is there a limit to the concurrent connections a DO can have? If yes, it’s 6 (the same as workers)? What about subrequests?

Thank you :smile: