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

@@ -61,7 +61,7 @@ class GetDomainVisitsCommandTest extends TestCase
| Referer | Date | User agent | Country | City | Short Url |
+---------+---------------------------+------------+---------+--------+---------------+
| foo | {$visit->date->toAtomString()} | bar | Spain | Madrid | the_short_url |
+---------+---------------------------+------------+---------+--------+---------------+
+---------+-------------------------- Page 1 of 1 -+---------+--------+---------------+
OUTPUT,
$output,