shadiajam / SnowFlakeID-Delphi

Snowflake's unique identifier generation system for objects within a distributed system or database.
MIT License
21 stars 4 forks source link

Machine ID is always different #1

Open Morrismx opened 1 month ago

Morrismx commented 1 month ago

Hi,

I was testing the unit on Linux, and on every call MachineID is always different, is this normal?

Timestamp: 1730296357544 Machine ID: 824 Sequence: 1 Snowflake ID as Integer: 7257388933635604481 -> Timestamp: 1730296361022 Machine ID: 315 Sequence: 1 Snowflake ID as Integer: 7257388948221308929 -> Timestamp: 1730296453909 Machine ID: 882 Sequence: 1 Snowflake ID as Integer: 7257389337819947009

Thank you

shadiajam commented 4 weeks ago

Hello, no it's not normal.

Working on new version well fix this issue