From 101059126c7fb7864fa6e1f66fd22c625cb42d3a Mon Sep 17 00:00:00 2001 From: bandl <1658002533@qq.com> Date: Wed, 6 Oct 2021 16:51:06 +0800 Subject: [PATCH] fix(single-server): fix timeOut --- storage/server/single/single.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/server/single/single.go b/storage/server/single/single.go index 13a6f18..8d1e4de 100644 --- a/storage/server/single/single.go +++ b/storage/server/single/single.go @@ -28,7 +28,7 @@ func NewServer() *serverSingle { ser := &serverSingle{ lruCache: lruCache, lruProduce: event.NewProduce(lruCache.GetDriver()), - timeOut: time.Duration(timeOut), + timeOut: time.Duration(timeOut) * time.Second, dao: dao.NewDao(lruCache), } sysSingleServer = ser