mirror of
https://github.com/NoiTheCat/BirthdayBot.git
synced 2024-11-24 01:14:12 +00:00
Reduce background work interval
This commit is contained in:
parent
020e680436
commit
9667820df4
1 changed files with 2 additions and 2 deletions
|
@ -9,8 +9,8 @@ namespace BirthdayBot.BackgroundServices
|
|||
/// </summary>
|
||||
class ConnectionStatus : BackgroundService
|
||||
{
|
||||
// About 5 minutes
|
||||
public const int StableScore = 300 / ShardBackgroundWorker.Interval;
|
||||
// About 3 minutes
|
||||
public const int StableScore = 180 / ShardBackgroundWorker.Interval;
|
||||
|
||||
public bool Stable { get { return Score >= StableScore; } }
|
||||
public int Score { get; private set; }
|
||||
|
|
Loading…
Reference in a new issue