diff options
| author | Terry Truong <terry06890@gmail.com> | 2023-01-24 19:19:09 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2023-01-24 19:33:27 +1100 |
| commit | 0f74c8bad0b176f808cdf53911f70d5d791823fe (patch) | |
| tree | 7a26927e76192a0b7f4a83e5f596b5666ab352cd /backend | |
| parent | f6fb429772c02da976f4173907fdaa9ee97a7c99 (diff) | |
Adjust limits and timeouts
Increase MAX_REQ_EVENTS in chrona.py. Without this, a large-screened
client might request with a limit of 700 events, more than the
previous server limit of 500, causing the client to display nothing.
Reduce onEventDisplay() throttling timeout in App.vue, for faster
user responsiveness.
Diffstat (limited to 'backend')
| -rwxr-xr-x | backend/chrona.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/chrona.py b/backend/chrona.py index cd9a0be..e107d1c 100755 --- a/backend/chrona.py +++ b/backend/chrona.py @@ -33,7 +33,7 @@ import jsonpickle from hist_data.cal import HistDate, dbDateToHistDate, dateToUnit DB_FILE = 'hist_data/data.db' -MAX_REQ_EVENTS = 500 +MAX_REQ_EVENTS = 2000 MAX_REQ_UNIT_COUNTS = MAX_REQ_EVENTS DEFAULT_REQ_EVENTS = 20 MAX_REQ_SUGGS = 50 |
