recessive: 日志优化
This commit is contained in:
parent
92612efe3d
commit
b151de3f00
|
@ -38,7 +38,7 @@ func WithDeadlockDetect(t time.Duration) Option {
|
||||||
return func(srv *Server) {
|
return func(srv *Server) {
|
||||||
if t > 0 {
|
if t > 0 {
|
||||||
srv.deadlockDetect = t
|
srv.deadlockDetect = t
|
||||||
log.Info("DeadlockDetect", zap.Any("Time", t))
|
log.Info("DeadlockDetect", zap.String("Time", t.String()))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue