Fixed cpu usage
This commit is contained in:
parent
ec539bf884
commit
15faf088d2
@ -21,7 +21,7 @@ namespace NadekoBot.Core.Services.Impl
|
|||||||
private readonly IBotCredentials _creds;
|
private readonly IBotCredentials _creds;
|
||||||
private readonly DateTime _started;
|
private readonly DateTime _started;
|
||||||
|
|
||||||
public const string BotVersion = "2.1.1";
|
public const string BotVersion = "2.1.2";
|
||||||
|
|
||||||
public string Author => "Kwoth#2560";
|
public string Author => "Kwoth#2560";
|
||||||
public string Library => "Discord.Net";
|
public string Library => "Discord.Net";
|
||||||
|
@ -228,6 +228,7 @@ namespace NadekoBot.Core.Services
|
|||||||
await Task.Delay(6000).ConfigureAwait(false);
|
await Task.Delay(6000).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
tsc.TrySetResult(true);
|
tsc.TrySetResult(true);
|
||||||
|
await Task.Delay(6000).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
while (true);
|
while (true);
|
||||||
// ^ keep checking for shards which need to be restarted
|
// ^ keep checking for shards which need to be restarted
|
||||||
|
Loading…
Reference in New Issue
Block a user