fix(single-server): fix timeOut

This commit is contained in:
bandl 2021-10-06 16:51:06 +08:00
parent ccf7179713
commit 101059126c
1 changed files with 1 additions and 1 deletions

View File

@ -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