Update intervals, increase version number

This commit is contained in:
Noi 2020-07-27 22:39:01 -07:00
parent 657181ec3e
commit a9e87d8021
2 changed files with 8 additions and 7 deletions

View file

@ -12,14 +12,15 @@ namespace BirthdayBot
class BackgroundServiceRunner class BackgroundServiceRunner
{ {
#if !DEBUG #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. // 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 #else
const int Interval = 10; // Short intervals for testing
const int StartDelay = 15; const int StartDelay = 20;
const int Interval = 20;
#endif #endif
const string LogName = nameof(BackgroundServiceRunner); const string LogName = nameof(BackgroundServiceRunner);

View file

@ -3,7 +3,7 @@
<PropertyGroup> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework> <TargetFramework>netcoreapp3.1</TargetFramework>
<Version>2.2.0</Version> <Version>2.3.0</Version>
<PackageId>BirthdayBot</PackageId> <PackageId>BirthdayBot</PackageId>
<Authors>NoiTheCat</Authors> <Authors>NoiTheCat</Authors>
<Product>BirthdayBot</Product> <Product>BirthdayBot</Product>