From 5c0f4161957c36794c5f5c004ccc8ef3b653e5bf Mon Sep 17 00:00:00 2001 From: Maxim Samsonov Date: Sat, 7 Sep 2024 22:50:31 +0300 Subject: [PATCH] Cleanup of staled rounds (3) --- dkgServiceNode/Data/DbEnsure.cs | 2 +- dkgServiceNode/Services/RoundRunner/Runner.cs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dkgServiceNode/Data/DbEnsure.cs b/dkgServiceNode/Data/DbEnsure.cs index 5532027..b6b7e4c 100644 --- a/dkgServiceNode/Data/DbEnsure.cs +++ b/dkgServiceNode/Data/DbEnsure.cs @@ -258,7 +258,7 @@ public static void Ensure(string connectionString) Ensure_0_8_0(connection); EnsureVersion("0.12.1", sqlScript_0_12_1, connection); - PuVersionUpdate("0.12.6", connection); + PuVersionUpdate("0.12.7", connection); } } diff --git a/dkgServiceNode/Services/RoundRunner/Runner.cs b/dkgServiceNode/Services/RoundRunner/Runner.cs index f02ea64..a1d67d8 100644 --- a/dkgServiceNode/Services/RoundRunner/Runner.cs +++ b/dkgServiceNode/Services/RoundRunner/Runner.cs @@ -26,6 +26,7 @@ using dkgServiceNode.Models; using System.Runtime.CompilerServices; +using System.Text; [assembly: InternalsVisibleTo("dkgNodesTests")] namespace dkgServiceNode.Services.RoundRunner @@ -58,6 +59,7 @@ public void RunRound(Round round, List? nodes) if (roundToRun != null && nodes != null) { roundToRun.Run(nodes); + SetStepTwoWaitingTime(round); } } }