Skip to content

Conversation

@gefjon
Copy link
Contributor

@gefjon gefjon commented Aug 14, 2025

Description of Changes

Closes #3170 .

Commit messages:

Increase the default incoming-queue-length limit

2048 turned out to be too low a value for BitCraft, as their world upload process requests on the order of 6000 reducers very rapidly. We still feel that having a limit is valuable to prevent malicious or misguided clients from taking an arbitrarily large amount of host memory, so we bump the value to give us a wide safety error for BitCraft's needs but don't remove the limit entirely.

Add log at warn when the host disconnects a client due to too many requests

API and ABI breaking changes

N/a

Expected complexity level and risk

1

Testing

  • @mamcx to run a BitCraft bot test.

gefjon added 2 commits August 14, 2025 13:47
2048 turned out to be too low a value for BitCraft,
as their world upload process requests on the order of 6000 reducers very rapidly.
We still feel that having a limit is valuable to prevent malicious or misguided clients
from taking an arbitrarily large amount of host memory,
so we bump the value to give us a wide safety error for BitCraft's needs
but don't remove the limit entirely.
@gefjon gefjon mentioned this pull request Aug 14, 2025
2 tasks
@gefjon gefjon added this pull request to the merge queue Aug 14, 2025
Merged via the queue into master with commit 3feed08 Aug 14, 2025
36 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Websocket handler: increase default incoming-queue-length limit and log::warn! when killing a client due to it

3 participants