Skip to content

Commit

Permalink
fix: apy_time endpoint - limit to 100 due to timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
robcxyz committed Sep 3, 2024
1 parent b72a887 commit f620f0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion icon_governance/api/v1/endpoints/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async def get_apy_over_time(
start_timestamp: int = None,
end_timestamp: int = None,
skip: int = Query(0),
limit: int = Query(1000, gt=0, lt=1001),
limit: int = Query(100, gt=0, lt=101),
session: AsyncSession = Depends(get_session),
) -> List[ApyTime]:
"""
Expand Down

0 comments on commit f620f0b

Please sign in to comment.