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

EagerlyEmitFirstEvent is ignored #128

Open
ficnar opened this issue Mar 2, 2024 · 2 comments
Open

EagerlyEmitFirstEvent is ignored #128

ficnar opened this issue Mar 2, 2024 · 2 comments

Comments

@ficnar
Copy link

ficnar commented Mar 2, 2024

I have this configuration:

batchingOptions: new()
{
    BatchSizeLimit = 100,
    Period = TimeSpan.FromMinutes(10),
    EagerlyEmitFirstEvent = true
}

I expect, that first message will be sended immediately due settings EagerlyEmitFirstEvent = true. But I receive first message after 10 minutes.

@bartelink
Copy link
Member

Probably worth asking on stack overflow, tagged serilog if you're looking for help troubleshooting - very few people watch this issue tracker as it's a list of issues and/or feature requests, not a support forum (and anyone that watches this will also be watching the SO tag)
Definitely mention the version you are using
(If it was me, I'd be reading the code to try to figure out reasons it could go wrong)

@ficnar
Copy link
Author

ficnar commented Mar 2, 2024

I tested at last version 3.0.0.
I didn't find any issues by google or by dependent components:

I don't know, if its problem of Serilog.Sinks.Email or Srilog.Sinks.Periodicbatching or elsewhere.

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

No branches or pull requests

2 participants