Skip to content

Commit

Permalink
Merge pull request #266 from goetas/patch-2
Browse files Browse the repository at this point in the history
Increase the cut-limit for a command
  • Loading branch information
snc committed May 14, 2016
2 parents 2c05f23 + d398525 commit 366c045
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Client/Predis/Connection/ConnectionWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ private function commandToString(CommandInterface $command)
*/
private function toStringArgumentReducer($accumulator, $argument)
{
if (strlen($argument) > 32) {
$argument = substr($argument, 0, 32) . '[...]';
if (strlen($argument) > 256) {
$argument = substr($argument, 0, 256) . '[...]';
}

$accumulator .= " $argument";
Expand Down

0 comments on commit 366c045

Please sign in to comment.