Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't ever look up wishlist for definition-only items #10840

Merged
merged 2 commits into from
Dec 11, 2024
Merged

Conversation

bhollis
Copy link
Contributor

@bhollis bhollis commented Dec 11, 2024

We had an issue where vendor items would load with no live perk info, and thus fall back to definitions, which have every possible perk. This would match every wishlist entry, and that would then get cached in the wishlists cache. Then when the real live info loaded, the cache wouldn't get invalidated.

This changes to ignore wishlist status on definition-based perks entirely, and skip the cache.

Before:
Screenshot 2024-12-10 at 10 23 25 PM

After:
Screenshot 2024-12-10 at 10 22 27 PM

I also fixed #8327 by plumbing the vendor next refresh date into the item IDs. This means when the vendor refreshes, the wishlist cache should get new entries.

Fixes #8327

@bhollis bhollis merged commit 47b22fb into master Dec 11, 2024
7 checks passed
@bhollis bhollis deleted the vendor-wishlist branch December 11, 2024 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Random rolled vendor items interact badly with wish list cache?
3 participants