From 10669511ab6770b1488f985358d1f5e0c7bc6b93 Mon Sep 17 00:00:00 2001 From: ushell <6017594+ushell@users.noreply.github.com> Date: Thu, 14 Mar 2024 16:44:59 +0800 Subject: [PATCH] Chore: remove update ttl log --- zrpc/registry/consul/register.go | 1 - 1 file changed, 1 deletion(-) diff --git a/zrpc/registry/consul/register.go b/zrpc/registry/consul/register.go index 669ed28..918fb36 100644 --- a/zrpc/registry/consul/register.go +++ b/zrpc/registry/consul/register.go @@ -77,7 +77,6 @@ func RegisterService(listenOn string, c Conf) error { for { <-ticker.C err = client.Agent().UpdateTTL(serviceID, "", "passing") - logx.Info("update ttl") if err != nil { logx.Infof("update ttl of service error: %v", err.Error()) }