mirror of
https://github.com/NoiTheCat/BirthdayBot.git
synced 2024-11-22 05:54:36 +00:00
Lowered interval temporarily to improve responsiveness
This commit is contained in:
parent
13209e0bae
commit
5c46144e48
1 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,8 @@ Class BackgroundWorker
|
||||||
Private ReadOnly _db As Database
|
Private ReadOnly _db As Database
|
||||||
Private ReadOnly Property WorkerCancel As New CancellationTokenSource
|
Private ReadOnly Property WorkerCancel As New CancellationTokenSource
|
||||||
Private _workerTask As Task
|
Private _workerTask As Task
|
||||||
Const Interval = 180 ' How often the worker wakes up, in seconds
|
' NOTE: Interval greatly lowered. Raise to 45 seconds if server count goes up.
|
||||||
|
Const Interval = 15 ' How often the worker wakes up, in seconds
|
||||||
Private _clock As IClock
|
Private _clock As IClock
|
||||||
|
|
||||||
Sub New(instance As BirthdayBot, dbsettings As Database)
|
Sub New(instance As BirthdayBot, dbsettings As Database)
|
||||||
|
|
Loading…
Reference in a new issue