Skip to content

no available capacity #441

Answered by lovasoa
flosigime asked this question in Q&A
Jun 21, 2024 · 3 comments · 5 replies
Discussion options

You must be logged in to vote

This error happens when your database emits a lot of data very quickly, and the web browser isn't able to download it fast enough. In this case, SQLPage will store the database's responses in memory while waiting for the client to download it. But it won't accept to store an arbitrarily large amount of data in memory, in order not to penalize other clients that may want to use the server at the same time. So, when the database has emitted more than 128 messages and the client hasn't downloaded them, sqlpage will throw an error. This limit of 128 is called MAX_PENDING_MESSAGES, and is currently hardcoded. I'll make it configurable in the next version so that you can increase it if you want.

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@lovasoa
Comment options

Answer selected by lovasoa
Comment options

You must be logged in to vote
3 replies
@flosigime
Comment options

@lovasoa
Comment options

@flosigime
Comment options

Comment options

You must be logged in to vote
1 reply
@lovasoa
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants