request the first routes after one second

Again, aiming for a more responsive look and feel.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel
2023-05-07 14:52:10 -07:00
committed by wiedehopf
parent 86aeaa96d9
commit c2f0a0f310

View File

@@ -9,7 +9,7 @@ g.planes = {};
g.planesOrdered = [];
g.route_cache = [];
g.route_check_array = [];
g.route_cache_timer = new Date().getTime() / 1000 + 5; // 5 seconds from now
g.route_cache_timer = new Date().getTime() / 1000 + 1; // one second from now
// Define our global variables
let tabHidden = false;