omni::structuredlog::kEventQueueSizeSetting
Defined in omni/structuredlog/StructuredLogSettingsUtils.h
-
constexpr const char *omni::structuredlog::kEventQueueSizeSetting = "/structuredLog/eventQueueSize"
The setting path for the size of the event queue buffer in kilobytes.
The size of the event queue controls how many messages can be queued in the message processing queue before events start to get dropped (or a stall potentially occurs). The event queue can fill up if the app is emitting messages from multiple threads at a rate that is higher than they can be processed or written to disk. In general, there should not be a situation where the app is emitting messages at a rate that causes the queue to fill up. However, this may be beyond the app’s control if (for example) the drive the log is being written to is particularly slow or extremely busy. This defaults to 2048KB.