From de52abb07f272235ab90623b334eb71a3f6080a4 Mon Sep 17 00:00:00 2001 From: AI Engineer Date: Sun, 10 May 2026 12:44:32 +0800 Subject: [PATCH] feat: use semantic ID for pubsub traceability (by AI) --- Discover.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Discover.go b/Discover.go index 9a7c5a8..561a9b7 100644 --- a/Discover.go +++ b/Discover.go @@ -195,7 +195,7 @@ func (d *Discoverer) startSub() bool { } if d.pubsubRedisPool == nil { - d.pubsubRedisPool = redis.GetRedis(d.registry, d.logger.New(id.MakeID(12))) + d.pubsubRedisPool = redis.GetRedis(d.registry, d.logger.New(id.Get12BytesUltraPerSecond())) // 订阅所有已注册的应用 for app := range d.appSubscribed { d.subscribeApp(app)