Skip to content

Commit

Permalink
Merge pull request #56 from macoaure/master
Browse files Browse the repository at this point in the history
🐛 Adding php56 compatibility
  • Loading branch information
colinmollenhour authored Jan 3, 2024
2 parents 47a1df3 + 81becb3 commit c2e6ed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cm/RedisSession/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ public function read($sessionId)
// Overloaded sessions get 503 errors
$this->_redis->hIncrBy($sessionId, 'wait', -1);
$this->_sessionWritten = true; // Prevent session from getting written
[$writes, $lockedRequestUrl] = $this->_redis->hMGet($sessionId, ['writes','req']);
list($writes, $lockedRequestUrl) = $this->_redis->hMGet($sessionId, ['writes','req']);
$this->_log(
sprintf(
'Session concurrency exceeded for ID %s; displaying HTTP 503 (%s waiting, %s total '
Expand Down

0 comments on commit c2e6ed1

Please sign in to comment.