fluent / fluent-logger-node

A structured logger for Fluentd (Node.js)
Apache License 2.0
259 stars 83 forks source link

add messageQueueSizeLimit option #152

Closed calibr closed 4 years ago

calibr commented 4 years ago

Related to https://github.com/fluent/fluent-logger-node/issues/113

Added messageQueueSizeLimit option in order to limit message queue size, this should help to prevent memory leaking when server is unreachable

kalinkrustev commented 4 years ago

I was thinking of storing some info about the number of lost items and sending this later (before the first item in the queue) when server can be reached.

okkez commented 4 years ago

Thanks :sunglasses: