mirror of
https://github.com/sot-tech/mochi.git
synced 2026-07-18 22:28:10 -07:00
Set up initial outbound synchronization structure
This commit is contained in:
Vendored
+1
-1
@@ -31,7 +31,7 @@ func (d *driver) New(conf *config.DataStore) cache.Pool {
|
||||
return &Pool{
|
||||
conf: conf,
|
||||
pool: redis.Pool{
|
||||
MaxIdle: conf.MaxIdleConn,
|
||||
MaxIdle: conf.MaxIdleConns,
|
||||
IdleTimeout: conf.IdleTimeout.Duration,
|
||||
Dial: makeDialFunc(conf),
|
||||
TestOnBorrow: testOnBorrow,
|
||||
|
||||
Vendored
+1
-1
@@ -47,7 +47,7 @@ func createTestTxObj(t TestReporter) *Tx {
|
||||
testPool := &Pool{
|
||||
conf: conf,
|
||||
pool: redis.Pool{
|
||||
MaxIdle: conf.MaxIdleConn,
|
||||
MaxIdle: conf.MaxIdleConns,
|
||||
IdleTimeout: conf.IdleTimeout.Duration,
|
||||
Dial: makeDialFunc(conf),
|
||||
TestOnBorrow: testOnBorrow,
|
||||
|
||||
Reference in New Issue
Block a user