commit | 615f3d9ddd01e2023016b5e72ba9efac6ee1b107 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Fri Jan 12 12:33:44 2018 +0200 |
committer | Andrey Andreev <narf@devilix.net> | Fri Jan 12 12:34:37 2018 +0200 |
tree | 0817c35a8a80984956db2e4d0b0eddb8be871ccc | |
parent | cce6bd170f24cf0f10ca0b58150d0324433a66be [diff] |
[ci skip] Merge pull request #5379 from tianhe1986/develop_session_memcached Fix of Session_memcached_driver::_get_lock
diff --git a/system/libraries/Session/drivers/Session_memcached_driver.php b/system/libraries/Session/drivers/Session_memcached_driver.php index edabff5..b109738 100644 --- a/system/libraries/Session/drivers/Session_memcached_driver.php +++ b/system/libraries/Session/drivers/Session_memcached_driver.php
@@ -313,6 +313,8 @@ ? $this->_memcached->add($this->_lock_key, time(), 300) : FALSE; } + + return TRUE; } // 30 attempts to obtain a lock, in case another request already has it