diff --git a/BackgroundServiceRunner.cs b/BackgroundServiceRunner.cs index 32d348c..3a760a0 100644 --- a/BackgroundServiceRunner.cs +++ b/BackgroundServiceRunner.cs @@ -12,14 +12,15 @@ namespace BirthdayBot class BackgroundServiceRunner { #if !DEBUG - // Amount of idle time between each round of task execution, in seconds. - const int Interval = 8 * 60; - // Amount of time between start and first round of processing, in seconds. - const int StartDelay = 3 * 60; // 3 minutes + const int StartDelay = 3 * 60; // 3 minutes + + // Amount of idle time between each round of task execution, in seconds. + const int Interval = 5 * 60; // 5 minutes #else - const int Interval = 10; - const int StartDelay = 15; + // Short intervals for testing + const int StartDelay = 20; + const int Interval = 20; #endif const string LogName = nameof(BackgroundServiceRunner); diff --git a/BirthdayBot.csproj b/BirthdayBot.csproj index 810af3b..58cf958 100644 --- a/BirthdayBot.csproj +++ b/BirthdayBot.csproj @@ -3,7 +3,7 @@ Exe netcoreapp3.1 - 2.2.0 + 2.3.0 BirthdayBot NoiTheCat BirthdayBot