mirror of
https://github.com/NoiTheCat/BirthdayBot.git
synced 2024-11-21 21: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
|
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);
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue