fix(single-server): fix timeOut
This commit is contained in:
parent
ccf7179713
commit
101059126c
|
@ -28,7 +28,7 @@ func NewServer() *serverSingle {
|
||||||
ser := &serverSingle{
|
ser := &serverSingle{
|
||||||
lruCache: lruCache,
|
lruCache: lruCache,
|
||||||
lruProduce: event.NewProduce(lruCache.GetDriver()),
|
lruProduce: event.NewProduce(lruCache.GetDriver()),
|
||||||
timeOut: time.Duration(timeOut),
|
timeOut: time.Duration(timeOut) * time.Second,
|
||||||
dao: dao.NewDao(lruCache),
|
dao: dao.NewDao(lruCache),
|
||||||
}
|
}
|
||||||
sysSingleServer = ser
|
sysSingleServer = ser
|
||||||
|
|
Loading…
Reference in New Issue