Skip to content

Commit

Permalink
Bump experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
JustArchi committed Oct 21, 2024
1 parent d5553a5 commit d6ad6e7
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ArchiSteamFarm/Core/Utilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ public static IEnumerable<T> ToEnumerable<T>(this T item) {
public static string ToHumanReadable(this TimeSpan timeSpan) => timeSpan.Humanize(3, maxUnit: TimeUnit.Year, minUnit: TimeUnit.Second);

[PublicAPI]
public static Task<T> ToLongRunningTask<T>(this AsyncJob<T> job) where T : ICallbackMsg {
public static Task<T> ToLongRunningTask<T>(this AsyncJob<T> job) where T : CallbackMsg {
ArgumentNullException.ThrowIfNull(job);

job.Timeout = TimeSpan.FromSeconds(TimeoutForLongRunningTasksInSeconds);
Expand All @@ -250,7 +250,7 @@ public static Task<T> ToLongRunningTask<T>(this AsyncJob<T> job) where T : ICall
}

[PublicAPI]
public static Task<AsyncJobMultiple<T>.ResultSet> ToLongRunningTask<T>(this AsyncJobMultiple<T> job) where T : ICallbackMsg {
public static Task<AsyncJobMultiple<T>.ResultSet> ToLongRunningTask<T>(this AsyncJobMultiple<T> job) where T : CallbackMsg {
ArgumentNullException.ThrowIfNull(job);

job.Timeout = TimeSpan.FromSeconds(TimeoutForLongRunningTasksInSeconds);
Expand Down
4 changes: 2 additions & 2 deletions ArchiSteamFarm/Steam/Bot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,8 @@ private Bot(string botName, BotConfig botConfig, BotDatabase botDatabase) {
CallbackManager.Subscribe<SharedLibraryLockStatusCallback>(OnSharedLibraryLockStatus);
CallbackManager.Subscribe<UserNotificationsCallback>(OnUserNotifications);

CallbackManager.SubscribeNotifications<ChatRoomClient, CChatRoom_IncomingChatMessage_Notification>(OnIncomingChatMessage);
CallbackManager.SubscribeNotifications<FriendMessagesClient, CFriendMessages_IncomingMessage_Notification>(OnIncomingMessage);
CallbackManager.SubscribeServiceNotification<ChatRoomClient, CChatRoom_IncomingChatMessage_Notification>(OnIncomingChatMessage);
CallbackManager.SubscribeServiceNotification<FriendMessagesClient, CFriendMessages_IncomingMessage_Notification>(OnIncomingMessage);

Actions = new Actions(this);
CardsFarmer = new CardsFarmer(this);
Expand Down
3 changes: 3 additions & 0 deletions ArchiSteamFarm/Steam/SteamKit2/InMemoryServerListProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
namespace ArchiSteamFarm.Steam.SteamKit2;

internal sealed class InMemoryServerListProvider : IServerListProvider {
// TODO
public DateTime LastServerListRefresh => DateTime.MinValue;

[JsonDisallowNull]
[JsonInclude]
private ConcurrentHashSet<ServerRecordEndPoint> ServerRecords { get; init; } = [];
Expand Down
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<PackageVersion Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.9.0" />
<PackageVersion Include="OpenTelemetry.Instrumentation.Http" Version="1.9.0" />
<PackageVersion Include="OpenTelemetry.Instrumentation.Runtime" Version="1.9.0" />
<PackageVersion Include="SteamKit2" Version="3.0.0-Alpha.1063" />
<PackageVersion Include="SteamKit2" Version="3.0.0-Alpha.1077" />
<PackageVersion Include="Swashbuckle.AspNetCore" Version="6.9.0" />
<PackageVersion Include="Swashbuckle.AspNetCore.Annotations" Version="6.9.0" />
<PackageVersion Include="System.Composition" Version="8.0.0" />
Expand Down
Binary file removed resources/SteamKit2.3.0.0-Alpha.1063.nupkg
Binary file not shown.
Binary file added resources/SteamKit2.3.0.0-Alpha.1077.nupkg
Binary file not shown.

0 comments on commit d6ad6e7

Please sign in to comment.