Skip to content
This repository was archived by the owner on Oct 17, 2024. It is now read-only.
This repository was archived by the owner on Oct 17, 2024. It is now read-only.

Guard against creating new rules less than 1s after the previous call to the same path #120

@asdine

Description

@asdine

When updating a ruleset, a new version of the rules is created using KSUIDs, which are lexicographically sorted ids with 1s precision.
If two versions of the same ruleset are created within the same second, there's no guarantee in the ordering.
We should guard the creation of new rules within that window in the API

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions