mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
Do not wait longer than 5 sec
This commit is contained in:
@@ -311,7 +311,7 @@ namespace ArchiSteamFarm {
|
|||||||
|
|
||||||
Logging.LogGenericInfo(Bot.BotName, "Sending signal to stop farming");
|
Logging.LogGenericInfo(Bot.BotName, "Sending signal to stop farming");
|
||||||
FarmResetEvent.Set();
|
FarmResetEvent.Set();
|
||||||
while (NowFarming) {
|
for (var i = 0; i < 5 && NowFarming; i++) {
|
||||||
Logging.LogGenericInfo(Bot.BotName, "Waiting for reaction...");
|
Logging.LogGenericInfo(Bot.BotName, "Waiting for reaction...");
|
||||||
await Utilities.SleepAsync(1000).ConfigureAwait(false);
|
await Utilities.SleepAsync(1000).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user