Skip to content

wait for seconds only checked for positivity #11

@Heliosmaster

Description

@Heliosmaster

https://github.com/rill-event-sourcing/rill/blob/master/rill-psql/src/rill/event_store/psql.clj#L154

Here the value of wait for seconds is not used, only checked for positivity. If using Thread/sleep we should call it wait-for-milliseconds (for consistency), and even if that is negative we should always have a timeout like we do now of 200 milliseconds, otherwise you really overload the server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions