fix(api) : cap pagination to 200 items/page to prevent OOM in production

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Matthieu
2026-02-11 11:11:09 +01:00
parent 2a1d966b87
commit f970c1928d
9 changed files with 10 additions and 8 deletions

View File

@@ -5,3 +5,5 @@ api_platform:
stateless: false
cache_headers:
vary: ['Content-Type', 'Authorization', 'Origin']
pagination_items_per_page: 30
pagination_maximum_items_per_page: 200