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
{
#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);

View file

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