Raised fetch_cursor limit to 10k rows
This commit is contained in:
@@ -69,7 +69,7 @@ async def execute_select(
|
|||||||
@router.get(path="/fetch_cursor", dependencies=[Depends(get_current_user)])
|
@router.get(path="/fetch_cursor", dependencies=[Depends(get_current_user)])
|
||||||
async def fetch_cursor(
|
async def fetch_cursor(
|
||||||
cursor_id: str,
|
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:
|
) -> SelectResult:
|
||||||
cached_cursor = mysql.cached_cursors.get(cursor_id, None)
|
cached_cursor = mysql.cached_cursors.get(cursor_id, None)
|
||||||
if cached_cursor is None:
|
if cached_cursor is None:
|
||||||
|
|||||||
Reference in New Issue
Block a user