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

Comments

Throw Exception when too many ids are generated in the same millisecond#8

Open
ssippe wants to merge 1 commit intomcb2001:masterfrom
ssippe:patch-1
Open

Throw Exception when too many ids are generated in the same millisecond#8
ssippe wants to merge 1 commit intomcb2001:masterfrom
ssippe:patch-1

Conversation

@ssippe
Copy link

@ssippe ssippe commented Jan 19, 2023

see #7

@ssippe ssippe changed the title Update Ulid.cs Throw Exception when too many ids are generated in the same millisecond Jan 19, 2023
Copy link
Owner

@mcb2001 mcb2001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whenever AddOne is called, this will fail.
This ensures that you can only have one ULid per millisecond instead of multiple with the AddOne functionality

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants