From 0f74c8bad0b176f808cdf53911f70d5d791823fe Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Tue, 24 Jan 2023 19:19:09 +1100 Subject: 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. --- backend/chrona.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend') 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 -- cgit v1.2.3