feature/session (#3073): Fix an E_WARNING in CI_Session_redis_driver
diff --git a/system/libraries/Session/drivers/Session_redis_driver.php b/system/libraries/Session/drivers/Session_redis_driver.php
index 6c013a6..d4ce5b2 100644
--- a/system/libraries/Session/drivers/Session_redis_driver.php
+++ b/system/libraries/Session/drivers/Session_redis_driver.php
@@ -153,7 +153,7 @@
{
if (isset($this->_redis, $this->_lock_key))
{
- $this->_redis->setTimeout($this->_lock_key, 10, time());
+ $this->_redis->setTimeout($this->_lock_key, 5);
if ($this->_fingerprint !== ($fingerprint = md5($session_data)))
{
if ($this->_redis->set($this->_key_prefix.$session_id, $session_data, $this->_expiration))