Skip to content

[INF-4937] Add server-side batching#29

Merged
surminus merged 1 commit intomainfrom
laura/batching
Aug 13, 2024
Merged

[INF-4937] Add server-side batching#29
surminus merged 1 commit intomainfrom
laura/batching

Conversation

@surminus
Copy link
Copy Markdown
Contributor

This implements server-side batching[1].

Since the default value of 0 for the interval is not a valid value, and is evaluated even if BatchingPolicy is false, I've set this value as a pointer and added a helper function to set it.

[1] https://ably.com/docs/channels#server-side-batching

Copy link
Copy Markdown
Contributor

@graham-russell graham-russell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

This implements server-side batching[1].

Since the default value of 0 for the interval is not a valid value, and
is evaluated even if `BatchingPolicy` is `false`, I've set this value as
a pointer and added a helper function to set it.

[1] https://ably.com/docs/channels#server-side-batching
@surminus surminus merged commit adc374b into main Aug 13, 2024
@surminus surminus deleted the laura/batching branch August 13, 2024 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants