Set up initial outbound synchronization structure

This commit is contained in:
Justin Li
2013-09-06 18:39:14 -04:00
parent ae9eaf4351
commit 080a24c7be
10 changed files with 173 additions and 10 deletions

View File

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

View File

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