From 4492810a21bb5841040f8a4c7b08bef165f38c72 Mon Sep 17 00:00:00 2001 From: Upamanyu Sharma Date: Fri, 26 Sep 2025 13:11:32 -0400 Subject: [PATCH] idutil: document event window as 2^48 6 byte suffix means event window is 2^48, not 2^56. Signed-off-by: Upamanyu Sharma --- pkg/idutil/id.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/idutil/id.go b/pkg/idutil/id.go index 63a02cd73..b185b1a58 100644 --- a/pkg/idutil/id.go +++ b/pkg/idutil/id.go @@ -43,7 +43,7 @@ const ( // // It increases suffix to generate the next id. // The count field may overflow to timestamp field, which is intentional. -// It helps to extend the event window to 2^56. This doesn't break that +// It helps to extend the event window to 2^48. This doesn't break that // id generated after restart is unique because etcd throughput is << // 256req/ms(250k reqs/second). type Generator struct {