Skip to content

Change the default value of maxMessagePerRead to 16 in ChannelMetadata#13680

Merged
normanmaurer merged 1 commit into4.1from
metadata_default
Nov 2, 2023
Merged

Change the default value of maxMessagePerRead to 16 in ChannelMetadata#13680
normanmaurer merged 1 commit into4.1from
metadata_default

Conversation

@normanmaurer
Copy link
Copy Markdown
Member

Motivation:

We used 1 as the default value for maxMessagesPerRead in ChannelMetadata which is a very bad default for performance reasons. Because of this we usually explicit use 16 when constructing it. To eliminate problems when we forgot to do so let's use 16 as default.

Modifications:

Change default to 16

Result:

Better performance by default

Motivation:

We used 1 as the default value for maxMessagesPerRead in ChannelMetadata which is a very bad default for performance reasons. Because of this we usually explicit use 16 when constructing it. To eliminate problems when we forgot to do so let's use 16 as default.

Modifications:

Change default to 16

Result:

Better performance by default
@normanmaurer normanmaurer added this to the 4.1.101.Final milestone Nov 2, 2023
@normanmaurer normanmaurer merged commit 5a98214 into 4.1 Nov 2, 2023
@normanmaurer normanmaurer deleted the metadata_default branch November 2, 2023 12:01
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.

2 participants