Skip to content

Commit

Permalink
🐛 Adding php56 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
macoaure authored Jan 3, 2024
1 parent 47a1df3 commit 81becb3
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 81becb3

Please sign in to comment.