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

Remove the 15-second window where you can't refresh #10906

Merged
merged 1 commit into from
Jan 26, 2025

Conversation

bhollis
Copy link
Contributor

@bhollis bhollis commented Jan 26, 2025

We currently refuse to refresh the user's profile from Bungie.net unless it's been at least 15 seconds since the last time the profile was updated (according to Bungie's timestamp). This PR removes that limit - they clearly have their own caching to protect against excess traffic, and this just makes it more frustrating to try and load updated data. If users want to bang on the refresh button continuously, we can let them.

Copy link
Contributor

@chainrez chainrez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In theory, the dead window cannot do anything to relieve Bungie, that Cloudflare doesn't already do. Not without cachebusting that DIM doesn't do.

In practice, all the window could hypothetically do is frustrate the user if other copies of DIM were running and had fresher data (though it sounds like there's a solution to that too soon.)

@bhollis bhollis merged commit fa7d0bd into master Jan 26, 2025
7 checks passed
@bhollis bhollis deleted the remove-refresh-throttle branch January 26, 2025 07:32
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.

2 participants