From 60db49fb5f2891047813947190cc84ff3d425a39 Mon Sep 17 00:00:00 2001 From: schneefux Date: Tue, 16 May 2017 19:02:51 +0200 Subject: telemetry: do phases from start to time --- worker.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/worker.js b/worker.js index eb65fd1..65fba55 100644 --- a/worker.js +++ b/worker.js @@ -120,13 +120,14 @@ if (LOGGLY_TOKEN) const phases = [ gamePhase(0, 90 * 60), // whole gamePhase(0, 1 * 60), // start - gamePhase(1 * 60, 4 * 60), // early game - gamePhase(4 * 60, 10 * 60), // mid game - gamePhase(10 * 60, 15 * 60), // mid game Gold miner - gamePhase(15 * 60, 20 * 60), // mid game Kraken - gamePhase(20 * 60, 25 * 60), // late game - gamePhase(25 * 60, 30 * 60), // late game - gamePhase(30 * 60, 90 * 60) // still playing? + gamePhase(0, 4 * 60), // early game + gamePhase(0, 8 * 60), // miner full + gamePhase(0, 12 * 60), // miner full + gamePhase(0, 15 * 60), // Kraken spawn + gamePhase(0, 20 * 60), // late mid game + gamePhase(0, 25 * 60), // late game + gamePhase(0, 30 * 60), // late game + gamePhase(0, 90 * 60) // still playing? ]; await Promise.each(phases, async (phase) => { if (phase.data.length > 0) -- cgit v1.3.1