mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-06-26 22:47:25 +00:00
Honestly 5 seconds delay for the denounce is fine, 500ms was unnecessarily quick
This commit is contained in:
@@ -46,7 +46,7 @@ function startSSEConnection() {
|
||||
|
||||
// Debounce. Wait 500ms after the last message before re-rendering to avoid too many ugly flashes
|
||||
clearTimeout(updateBandsDebounceId);
|
||||
updateBandsDebounceId = setTimeout(updateBands, 500);
|
||||
updateBandsDebounceId = setTimeout(updateBands, 5000);
|
||||
};
|
||||
|
||||
evtSource.onerror = function () {
|
||||
|
||||
Reference in New Issue
Block a user