Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: uuid v7 monotonicity in rare case #174

Closed
wants to merge 1 commit into from

Conversation

trim21
Copy link

@trim21 trim21 commented Oct 26, 2024

if lastV7time & 0xfff == 0xfff , (lastV7time + 1) & 0x000 == 0, then makeV7 generate a uuid v7 less than last time it generated.

@trim21 trim21 requested a review from a team as a code owner October 26, 2024 08:37
Copy link

🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use automerge label. Good luck human!

-- conventional-commit-lint bot
https://conventionalcommits.org/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant