From b151de3f00638090b4b4e850752aa434baee5dc5 Mon Sep 17 00:00:00 2001 From: kercylan98 Date: Sat, 8 Jul 2023 13:58:52 +0800 Subject: [PATCH] =?UTF-8?q?recessive:=20=E6=97=A5=E5=BF=97=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/options.go b/server/options.go index 66344a3..0d57395 100644 --- a/server/options.go +++ b/server/options.go @@ -38,7 +38,7 @@ func WithDeadlockDetect(t time.Duration) Option { return func(srv *Server) { if t > 0 { srv.deadlockDetect = t - log.Info("DeadlockDetect", zap.Any("Time", t)) + log.Info("DeadlockDetect", zap.String("Time", t.String())) } } }