-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert back to using AWH for inventory fetching
New method randomly returns an empty inventory which is something the old method never did
- Loading branch information
Showing
3 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d68141d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be fixed in latest pre-release 🙂
d68141d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JustArchi Note that this isn't the same as JustArchiNET/ArchiSteamFarm#3171, which I saw was addressed in V6.0.1.13.
My problem still exists in V6.0.1.13 and I don't see any changes related to
GetMyInventoryAsync
in newer versions.My experience is that loading an inventory using
GetMyInventoryAsync
will usually correctly return the inventory, but then randomly it returns nothing. When nothing is returned, ASF logs no errors. When trying to load the inventories of 5 bots at the same time, they either all succeed or they all fail (inventory sizes here are all less than 1000 items). These are my experiences from using ASF as I normally do and without any further testing. I figure it's just an annoying quirk of the new API being used.d68141d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps we need some internal retry or more info regarding those failures, I haven't seen them before.
@Citrinate I've added additional details in 6.0.1.17, if you can reproduce and report the exact exception you've got then perhaps I can add some retry there and fetch the inventory just right - please report through discord or GitHub with full log, thanks in advance 🙂.
JustArchiNET/ArchiSteamFarm@4cb3eab