From 43619d1db1bb9513ad3e9312f30aae5c8f2f3aa7 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Thu, 20 Apr 2017 14:22:54 +1200 Subject: [PATCH] Finish with TODOs --- scripts/system/playRecordingAC.js | 8 ++++---- scripts/system/record.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/system/playRecordingAC.js b/scripts/system/playRecordingAC.js index b88637f8c4..35b5cbfb24 100644 --- a/scripts/system/playRecordingAC.js +++ b/scripts/system/playRecordingAC.js @@ -18,9 +18,9 @@ PLAYER_COMMAND_PLAY = "play", PLAYER_COMMAND_STOP = "stop", heartbeatTimer = null, - HEARTBEAT_INTERVAL = 3000, // TODO: Final value. - TIMESTAMP_UPDATE_INTERVAL = 2500, // TODO: Final value. - AUTOPLAY_SEARCH_INTERVAL = 5000, // TODO: Final value. + HEARTBEAT_INTERVAL = 3000, + TIMESTAMP_UPDATE_INTERVAL = 2500, + AUTOPLAY_SEARCH_INTERVAL = 5000, AUTOPLAY_ERROR_INTERVAL = 30000, // 30s scriptUUID, @@ -280,7 +280,7 @@ function autoPlay() { var recording, - AUTOPLAY_SEARCH_DELTA = 1000; // TODO: Final value. + AUTOPLAY_SEARCH_DELTA = 1000; // Random delay to help reduce collisions between AC scripts. Script.setTimeout(function () { diff --git a/scripts/system/record.js b/scripts/system/record.js index 89789769ec..c280688294 100644 --- a/scripts/system/record.js +++ b/scripts/system/record.js @@ -270,7 +270,7 @@ playerTimestamps = [], // Timestamps of last heartbeat update from player script. updateTimer, - UPDATE_INTERVAL = 5000; // Must be > player's HEARTBEAT_INTERVAL. TODO: Final value. + UPDATE_INTERVAL = 5000; // Must be > player's HEARTBEAT_INTERVAL. function numberOfPlayers() { return playerIDs.length;