From 23c0d50baf32f9d35e68d869e564d03a72e040c9 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Tue, 15 May 2018 17:55:28 +0200 Subject: [PATCH] Commenting out obsolete code --- Backend/BackendLoop.cs | 1 - Utility/BotCode/HeartBeater.cs | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Backend/BackendLoop.cs b/Backend/BackendLoop.cs index 3677aa6e..630663c2 100644 --- a/Backend/BackendLoop.cs +++ b/Backend/BackendLoop.cs @@ -81,7 +81,6 @@ namespace Swarmops.Backend { BotLog.Write(0, "MainCycle", "Running self-tests"); - HeartBeater.Instance.Beat(heartbeatFile); // Otherwise Heartbeater.Beat() will fail in various places testMode = true; Console.WriteLine("Testing All Maintenance Processes (except membership-changing ones)."); diff --git a/Utility/BotCode/HeartBeater.cs b/Utility/BotCode/HeartBeater.cs index 1328a030..40c3a04a 100644 --- a/Utility/BotCode/HeartBeater.cs +++ b/Utility/BotCode/HeartBeater.cs @@ -37,6 +37,8 @@ namespace Swarmops.Utility.BotCode } + /* + public void Beat() { Beat (this.lastFilename); @@ -75,7 +77,7 @@ namespace Swarmops.Utility.BotCode } } } - + */ public void SuggestRestart() {