diff --git a/templates/index.html b/templates/index.html
index 55bd9cf..9d86326 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -96,7 +96,6 @@
const margin = 20
for (const [_, bot] of Object.entries(bots)) {
- console.log(bot)
ctx.lineWidth = 4
ctx.strokeStyle = bot.color_ring
ctx.beginPath()
@@ -104,7 +103,6 @@
for (let i = 1; i < bot.x.length; i++) {
ctx.lineTo(getX(width, margin, 0, graph_data.game, bot.x[i]), getY(height, margin, graph_data.min_elo, graph_data.max_elo, bot.y[i]))
}
- console.log("stroking")
ctx.stroke()
}
} catch (err) {
@@ -118,9 +116,9 @@
canvas.height = canvas.clientHeight * window.devicePixelRatio;
}
- // Poll the server every 5 seconds
- setInterval(fetchLeaderboardData, 5000);
- setInterval(draw_graph, 5000);
+ // Poll the server every 60 seconds
+ setInterval(fetchLeaderboardData, 60_000);
+ setInterval(draw_graph, 60_000);
// Initial load
fetchLeaderboardData();