fix(single-server): fix timeOut
This commit is contained in:
parent
ccf7179713
commit
101059126c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue