mirror of
https://github.com/NoiTheCat/BirthdayBot.git
synced 2024-11-21 13:54:36 +00:00
Update intervals, increase version number
This commit is contained in:
parent
657181ec3e
commit
a9e87d8021
2 changed files with 8 additions and 7 deletions
|
@ -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);
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue