Group messages together instead of letting them get dropped #60
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
If messages are attempted to be sent in too close proximity to each other instead group them and send them together.
I also changed the pencil to get its minimum delay from the server settings.
This introduces an issue if the delay is low and a user is e.g. attempting to fill out a shape and creating a long path to do so. The server will now happily pass along the changes to other connected clients but will not store it past a certain point (more precisely after
MAX_CHILDREN
).How should we go about this? I see three possibilities:
MAX_CHILDREN
.MAX_CHILDREN
, however this would circumvent the intention behind that setting.I would go for the third option and add an entry to the wiki explaining that part of the configuration and recommending a higher
By opening a pull request, I certify that I hold the intellectual property of the code I am submitting, and I am granting the initial authors of WBO a perpetual, worldwide, non-exclusive, royalty-free, and irrevocable license to this code.MAX_CHILDREN
value if a highMAX_TOOL_POLLING_FREQUENCY
is set.