mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Misc
This commit is contained in:
@@ -30,7 +30,7 @@ using HtmlAgilityPack;
|
|||||||
|
|
||||||
namespace ArchiSteamFarm {
|
namespace ArchiSteamFarm {
|
||||||
internal sealed class SteamSaleEvent : IDisposable {
|
internal sealed class SteamSaleEvent : IDisposable {
|
||||||
private const byte MaxSingleQueueDrops = 3;
|
private const byte MaxSingleQueuesDaily = 3;
|
||||||
|
|
||||||
private readonly Bot Bot;
|
private readonly Bot Bot;
|
||||||
private readonly Timer SteamDiscoveryQueueTimer;
|
private readonly Timer SteamDiscoveryQueueTimer;
|
||||||
@@ -59,7 +59,7 @@ namespace ArchiSteamFarm {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (byte i = 0; (i < MaxSingleQueueDrops) && (await IsDiscoveryQueueAvailable().ConfigureAwait(false)).GetValueOrDefault(); i++) {
|
for (byte i = 0; (i < MaxSingleQueuesDaily) && (await IsDiscoveryQueueAvailable().ConfigureAwait(false)).GetValueOrDefault(); i++) {
|
||||||
HashSet<uint> queue = await Bot.ArchiWebHandler.GenerateNewDiscoveryQueue().ConfigureAwait(false);
|
HashSet<uint> queue = await Bot.ArchiWebHandler.GenerateNewDiscoveryQueue().ConfigureAwait(false);
|
||||||
if (queue == null) {
|
if (queue == null) {
|
||||||
break;
|
break;
|
||||||
@@ -71,7 +71,7 @@ namespace ArchiSteamFarm {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
i = MaxSingleQueueDrops;
|
i = MaxSingleQueuesDaily;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user