Skip to content

Commit

Permalink
Fix #3823
Browse files Browse the repository at this point in the history
  • Loading branch information
narfbg committed Apr 30, 2015
1 parent af85f33 commit 73b9e85
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Expand Up @@ -322,7 +322,7 @@ protected function _get_lock($session_id)
$this->_lock_key = $lock_key;
break;
}
while ($attempt++ < 30);
while (++$attempt < 30);

if ($attempt === 30)
{
Expand Down
2 changes: 1 addition & 1 deletion system/libraries/Session/drivers/Session_redis_driver.php
Expand Up @@ -336,7 +336,7 @@ protected function _get_lock($session_id)
$this->_lock_key = $lock_key;
break;
}
while ($attempt++ < 30);
while (++$attempt < 30);

if ($attempt === 30)
{
Expand Down
1 change: 1 addition & 0 deletions user_guide_src/source/changelog.rst
Expand Up @@ -26,6 +26,7 @@ Bug fixes for 3.0.1
- Fixed a bug (#3787) - :doc:`FTP Library <libraries/ftp>` method ``delete_dir()`` failed when the target has subdirectories.
- Fixed a bug (#3801) - :doc:`Output Library <libraries/output>` method ``_display_cache()`` incorrectly looked for the last modified time of a directory instead of the cache file.
- Fixed a bug (#3816) - :doc:`Form Validation Library <libraries/form_validation>` treated empty string values as non-existing ones.
- Fixed a bug (#3823) - :doc:`Session Library <libraries/sessions>` drivers Redis and Memcached didn't properly handle locks that are blocking the request for more than 30 seconds.

Version 3.0.0
=============
Expand Down

0 comments on commit 73b9e85

Please sign in to comment.