diff options
author | Andrey Andreev <narf@devilix.net> | 2014-08-27 22:52:55 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-08-27 22:52:55 +0200 |
commit | 2a1f940884f50c8157594cdec66af65fa3874b39 (patch) | |
tree | 01f59f46dcc9b08ba15e8f1d7e40d71fa2f0b32b /system/libraries/Session/drivers | |
parent | 43f6cdba6c22290c69e795168e326fe1aa8743f6 (diff) |
feature/session (#3073): Fix an E_WARNING in CI_Session_redis_driver
Diffstat (limited to 'system/libraries/Session/drivers')
-rw-r--r-- | system/libraries/Session/drivers/Session_redis_driver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Session/drivers/Session_redis_driver.php b/system/libraries/Session/drivers/Session_redis_driver.php index 6c013a657..d4ce5b274 100644 --- a/system/libraries/Session/drivers/Session_redis_driver.php +++ b/system/libraries/Session/drivers/Session_redis_driver.php @@ -153,7 +153,7 @@ class CI_Session_redis_driver extends CI_Session_driver implements SessionHandle { 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)) |