Skip to content
This repository has been 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

Open
asdine opened this issue May 22, 2019 · 0 comments
Labels
api enhancement New feature or request
Milestone

Comments

@asdine
Copy link
Contributor

asdine commented May 22, 2019

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

@asdine asdine added enhancement New feature or request api labels May 22, 2019
@asdine asdine added this to the v0.7.0 milestone May 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant