From 1997bc8a150b92783060cc7129e1ee72a761182b Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sun, 20 Oct 2024 11:36:43 +0300 Subject: refactor: mid refactor --- pkg/snowflake/snowflake.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'pkg/snowflake/snowflake.go') diff --git a/pkg/snowflake/snowflake.go b/pkg/snowflake/snowflake.go index 5b58cbb..bb4a07b 100644 --- a/pkg/snowflake/snowflake.go +++ b/pkg/snowflake/snowflake.go @@ -13,11 +13,10 @@ const ( // Epoch is set to the twitter snowflake epoch of Nov 04 2010 01:42:54 UTC in milliseconds // TODO: change this to eko epoch when eko is production ready Epoch int64 = 1288834974657 - nodeBits = 10 stepBits = 12 - nodeMax = 1<