浏览代码

HPCC-14449 Redis Plugin - fix upmerge issue from HPCC-14418

Signed-off-by: James Noss <james.noss@lexisnexis.com>
James Noss 9 年之前
父节点
当前提交
8bdfe39469
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugins/redis/redis.cpp

+ 1 - 1
plugins/redis/redis.cpp

@@ -379,7 +379,7 @@ Connection * Connection::createConnection(ICodeContext * ctx,  Connection * & _c
     if (_cachedConnection->isSameConnection(ctx, options, password))
     {
         //MORE: should perhaps check that the connection has not expired (think hiredis REDIS_KEEPALIVE_INTERVAL is defaulted to 15s).
-        cachedConnection->updateTimeout(_timeout);
+        _cachedConnection->reset(ctx, password, _timeout);
         _cachedConnection->selectDB(ctx, _database);
         return LINK(_cachedConnection);
     }