Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BoundedConcurrentQueue does not accept a negative queue limit. Using … #138

Merged
merged 1 commit into from
Oct 15, 2020

Conversation

JuanjoFuchs
Copy link
Contributor

I made a mistake, BoundedConcurrentQueue does not accept a negative queue limit. We need to use the default specified in PeriodicBatchingSinkOptions.QueueLimit

PeriodicBatchingSinkOptions.cs#L45

…the default specified in PeriodicBatchingSinkOptions.QueueLimit
@JuanjoFuchs
Copy link
Contributor Author

JuanjoFuchs commented Oct 13, 2020

I've noticed 100,000 is also the default used by ElasticSearchSink which also depends on the PeriodicBatchingSink

@JuanjoFuchs JuanjoFuchs marked this pull request as ready for review October 13, 2020 22:31
@merbla merbla merged commit e764e14 into serilog-contrib:master Oct 15, 2020
@merbla merbla mentioned this pull request Oct 15, 2020
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