Skip to content

Reduce the default maximum event buffer capacity #352

@mscwilson

Description

Events are buffered until there are enough for a whole batch, or until a thread is free to send them. If the event collector goes down, they will remain in the buffer until requests start getting through again.

Currently, with default configuration, the tracker will attempt to buffer/store up to Integer.MAX_VALUE events. It's the default size of the queue (LinkedBlockingDeque) used. This capacity is too big - we assume the app would crash before buffering so many events.

Let's set a more conservative default buffer capacity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:lowNot on the roadmap.status:completedCompleted - but might not be released yet.type:enhancementNew features or improvements to existing features.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions