Support paginating the output of visits commands to avoid out of memory errors

This commit is contained in:
Alejandro Celaya
2025-12-29 10:22:50 +01:00
parent faed7ae60b
commit c0edcd3cfd
13 changed files with 100 additions and 27 deletions

View File

@@ -55,7 +55,7 @@ class GetOrphanVisitsCommandTest extends TestCase
| Referer | Date | User agent | Country | City | Type |
+---------+---------------------------+------------+---------+--------+----------+
| foo | {$visit->date->toAtomString()} | bar | Spain | Madrid | base_url |
+---------+---------------------------+------------+---------+--------+----------+
+---------+----------------------- Page 1 of 1 ----+---------+--------+----------+
OUTPUT,
$output,