Fix Backup and fix worker discord
This commit is contained in:
@@ -43,6 +43,7 @@ namespace Managing.Domain.Bots
|
||||
{
|
||||
Console.WriteLine(ex.Message);
|
||||
}
|
||||
|
||||
ExecutionCount++;
|
||||
await Task.Delay(Interval, CancellationToken.Token);
|
||||
if (CancellationToken.IsCancellationRequested)
|
||||
@@ -54,7 +55,7 @@ namespace Managing.Domain.Bots
|
||||
public void Stop()
|
||||
{
|
||||
Status = BotStatus.Down;
|
||||
//CancellationToken.Cancel();
|
||||
CancellationToken.Cancel();
|
||||
}
|
||||
|
||||
public void Restart()
|
||||
|
||||
Reference in New Issue
Block a user