Skip to content

Race condition in batching leading to lost logs #117

@guifel

Description

@guifel

In batching mode, clearBatch is being called after the post request:

logEntry === undefined && this.clearBatch()

Logs that came in while the post request is pending will be lost. clearBatch needs to be called before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions