-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Implement async batching via queue #12
Labels
enhancement
New feature or request
Milestone
Comments
augustoproiete
added
enhancement
New feature or request
help wanted
Extra attention is needed
up-for-grabs
labels
Aug 8, 2021
The Notepad sink has a very similar need thus whatever approach is implemented there can probably be copied to this sink and vice-versa. |
augustoproiete
removed
help wanted
Extra attention is needed
up-for-grabs
hacktoberfest
labels
Oct 18, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently each log entry is immediately written to the
RichTextBox
control when writes occur on the main thread, or immediately scheduled to be written to the RichTextBox control in the main UI thread viaBeginInvoke
otherwise.This sometimes can cause the UI to become unresponsive when writing a large number of messages at the same time.
We should instead write messages to an in-memory queue that is consumed by a background worker on a separate thread, and implement batching and backpressure controls.
The text was updated successfully, but these errors were encountered: