diff --git a/src/postgres_history.py b/src/postgres_history.py index 2b19fb9..70d96c8 100644 --- a/src/postgres_history.py +++ b/src/postgres_history.py @@ -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") diff --git a/src/static/dashboard.html b/src/static/dashboard.html index 91cab95..b793f29 100644 --- a/src/static/dashboard.html +++ b/src/static/dashboard.html @@ -195,7 +195,7 @@

PostgreSQL history

Select a RID flow station to load the last 7 days

- +