A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/serilog-contrib/serilog-sinks-richtextbox/issues/12 below:

Implement async batching via queue · Issue #12 · serilog-contrib/serilog-sinks-richtextbox · GitHub

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 via BeginInvoke 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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4