Skip to content

Commit

Permalink
Add some misc delay between restarts
Browse files Browse the repository at this point in the history
  • Loading branch information
JustArchi committed Feb 20, 2016
1 parent 3509b1b commit ff88719
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ArchiSteamFarm/Bot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ private bool ReadConfig() {

internal async Task Restart() {
Stop();
await Utilities.SleepAsync(500).ConfigureAwait(false);
await Start().ConfigureAwait(false);
}

Expand Down

0 comments on commit ff88719

Please sign in to comment.