Skip to content

Add a sleep on shutdown to best-effort the final flush #29

@trevrosen

Description

@trevrosen

The code handling SIGINT can't know in advance whether there are outstanding items in the buffer, but a 500ms sleep should be sufficient to allow the client's BatchPersister to do the final POST before shutting down.

With the batching code moved into the client and the client supporting "final flush" behavior, this should be sufficient to handle #11.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions