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. --- src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/App.vue') diff --git a/src/App.vue b/src/App.vue index 4a8c3d9..186bf40 100644 --- a/src/App.vue +++ b/src/App.vue @@ -370,7 +370,7 @@ function onEventDisplay( timelineTimeouts.set(timelineId, window.setTimeout(async () => { timelineTimeouts.delete(timelineId); handleOnEventDisplay(timelineId, eventIds, firstDate, lastDate, scaleIdx); - }, 200)); + }, 100)); } // ========== For info modal ========== -- cgit v1.2.3