nodejs-snowflake icon indicating copy to clipboard operation
nodejs-snowflake copied to clipboard

The generated id is always even.

Open lzj960515 opened this issue 11 months ago • 0 comments

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?

lzj960515 avatar Mar 07 '24 06:03 lzj960515