mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
Use new experimental delay everywhere
This commit is contained in:
@@ -210,9 +210,11 @@ namespace ArchiSteamFarm {
|
||||
return;
|
||||
}
|
||||
|
||||
SteamClient.Connect();
|
||||
IsRunning = true;
|
||||
|
||||
Program.LimitSteamRequests();
|
||||
SteamClient.Connect();
|
||||
|
||||
Task.Run(() => HandleCallbacks());
|
||||
}
|
||||
|
||||
@@ -368,7 +370,7 @@ namespace ArchiSteamFarm {
|
||||
}
|
||||
|
||||
Logging.LogGenericWarning(BotName, "Disconnected from Steam, reconnecting...");
|
||||
await Utilities.SleepAsync(CallbackSleep).ConfigureAwait(false);
|
||||
await Program.LimitSteamRequestsAsync().ConfigureAwait(false);
|
||||
SteamClient.Connect();
|
||||
}
|
||||
|
||||
@@ -528,7 +530,6 @@ namespace ArchiSteamFarm {
|
||||
case EResult.TryAnotherCM:
|
||||
Logging.LogGenericWarning(BotName, "Unable to login to Steam: " + callback.Result + " / " + callback.ExtendedResult + ", retrying...");
|
||||
await Stop().ConfigureAwait(false);
|
||||
await Utilities.SleepAsync(CallbackSleep).ConfigureAwait(false);
|
||||
Start();
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user