Fixed cpu usage

This commit is contained in:
Master Kwoth
2017-10-24 05:06:06 +02:00
parent ec539bf884
commit 15faf088d2
2 changed files with 2 additions and 1 deletions

View File

@ -228,6 +228,7 @@ namespace NadekoBot.Core.Services
await Task.Delay(6000).ConfigureAwait(false);
}
tsc.TrySetResult(true);
await Task.Delay(6000).ConfigureAwait(false);
}
while (true);
// ^ keep checking for shards which need to be restarted