From e6860e67c2b390dcd6fc846df642e549d43f96f2 Mon Sep 17 00:00:00 2001 From: abdulhade Date: Thu, 25 Dec 2025 22:04:52 +0300 Subject: [PATCH] Raised fetch_cursor limit to 10k rows --- app/operations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/operations.py b/app/operations.py index 1c33f66..5ab0b5d 100644 --- a/app/operations.py +++ b/app/operations.py @@ -69,7 +69,7 @@ async def execute_select( @router.get(path="/fetch_cursor", dependencies=[Depends(get_current_user)]) async def fetch_cursor( cursor_id: str, - page_size: Annotated[int, Field(ge=1, le=1000)] = 50, + page_size: Annotated[int, Field(ge=1, le=10_000)] = 50, ) -> SelectResult: cached_cursor = mysql.cached_cursors.get(cursor_id, None) if cached_cursor is None: