From 573e2e296013c16f1fb0caee12e7fcf3c08e69b3 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 25 May 2020 22:46:09 +0000 Subject: [PATCH] --- server/AyaNova/generator/CoreJobBackup.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/server/AyaNova/generator/CoreJobBackup.cs b/server/AyaNova/generator/CoreJobBackup.cs index a0700d27..05ae0dae 100644 --- a/server/AyaNova/generator/CoreJobBackup.cs +++ b/server/AyaNova/generator/CoreJobBackup.cs @@ -19,17 +19,12 @@ namespace AyaNova.Biz { private static ILogger log = AyaNova.Util.ApplicationLogging.CreateLogger("CoreJobBackup"); private static bool BackupIsRunning = false; - private const int MAXIMUM_MS_ALLOWED_FOR_PROCESSING = 15 * 60 * 1000;//wild assed guess 15 minutes maximum to run backup command, ever + private const int MAXIMUM_MS_ALLOWED_FOR_PROCESSING = 5 * 60 * 1000;//wild assed guess 5 minutes maximum to run backup command, ever //////////////////////////////////////////////////////////////////////////////////////////////// // // public static async Task DoWorkAsync(bool OnDemand = false) { - //## TEST TEMPORARY - //This should trigger the kill switch for generator - System.Diagnostics.Debug.WriteLine($"CoreJobBackup test wait 2 minutes starting now..."); - await Task.Delay(new TimeSpan(0, 2, 0)); - if (BackupIsRunning) return; if (!OnDemand) {