fix: correct all-time hours value and update backend limit

This commit is contained in:
2026-08-09 17:12:22 +07:00
parent 6f2a8a0d8f
commit abfac1d3bb
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -21,8 +21,8 @@ class PostgresHistory:
end: datetime.datetime,
limit: int = 2000,
) -> List[Dict]:
if not 1 <= limit <= 5000:
raise ValueError("limit must be between 1 and 5000")
if not 1 <= limit <= 10000:
raise ValueError("limit must be between 1 and 10000")
if start >= end:
raise ValueError("start must be before end")