Remove unnecessary LongRunning setting

This commit is contained in:
Noi 2023-06-19 01:47:03 -07:00
parent 8d92841e02
commit 04b68655bc

View file

@ -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() {