Commit f4e6db2d authored by Mark Harding's avatar Mark Harding

(fix): prevent looping when we hit the bottom of old feeds

parent 1565b5e5
No related merge requests found
Pipeline #72316522 passed with stages
in 9 minutes and 54 seconds
......@@ -62,6 +62,10 @@ class Messages
$entities = [];
foreach ($messages as $guid => $json) {
if ($cassandraOffset < 999999999999999999 && $guid > 999999999999999999) {
continue;
}
$message = json_decode($json, true);
$entity = new Entities\Message();
$entity->loadFromArray($message);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment