Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenJB committed Mar 27, 2020
2 parents 62d5a10 + ecab439 commit 3c51ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rabbit/Queue.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public function getMessageCount(): ?int
];
$httpClient = new Client();
$response = $httpClient->get($uri, $options);
$data = json_decode($response->getBody()->getContents(), false, JSON_THROW_ON_ERROR);
$data = json_decode($response->getBody()->getContents(), false, 512, JSON_THROW_ON_ERROR);

return ($data->messages_ready ?? null);
}
Expand Down

0 comments on commit 3c51ed5

Please sign in to comment.