mirror of
https://github.com/NoiTheCat/BirthdayBot.git
synced 2024-11-21 05:54:36 +00:00
Remove unnecessary LongRunning setting
This commit is contained in:
parent
8d92841e02
commit
04b68655bc
1 changed files with 1 additions and 2 deletions
|
@ -43,8 +43,7 @@ class ShardManager : IDisposable {
|
|||
|
||||
// Start status reporting thread
|
||||
_mainCancel = new CancellationTokenSource();
|
||||
_statusTask = Task.Factory.StartNew(StatusLoop, _mainCancel.Token,
|
||||
TaskCreationOptions.LongRunning, TaskScheduler.Default);
|
||||
_statusTask = Task.Factory.StartNew(StatusLoop, _mainCancel.Token);
|
||||
}
|
||||
|
||||
public void Dispose() {
|
||||
|
|
Loading…
Reference in a new issue