Skip to content

The generated id is always even. #24

@lzj960515

Description

@lzj960515

Hi, Thank your nodejs-snowflake, It's very good!

However, I found that most of the generated IDs are even numbers. Can you optimize this? For example, when the next millisecond arrives, set sequence to a random number between 1 and 3?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions