Rancour PvM update - API load reduction - #14808
Merged
Merged
Conversation
update rancour-pvm
refresh rate changes
|
This plugin requires a review from a Plugin Hub maintainer. The reviewer will request any additional changes if needed. Internal use only: Reviewer details Maintainer details |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This update improves how the Rancour PvM plugin communicates with its backend API, particularly when many clan members are using the plugin simultaneously.
Changes include:
Unlinked users no longer poll the verification API until they begin the linking process.
Automatic refresh interval increased from 60 to 120 seconds.
Added up to 20 seconds of random refresh jitter so clients do not all refresh simultaneously.
Automatic refreshes are coalesced to prevent overlapping refresh cycles.
If verification/API communication fails, the plugin temporarily limits automatic requests to verification checks rather than continuing to request announcements, events, teams and settings.
Verified data is refreshed immediately once verification succeeds.
Restricted panels such as Drops remain hidden until verified settings have been loaded.
Added regression tests covering unlinked and pending verification polling behaviour.
These changes were made after identifying synchronized client refreshes causing unnecessary bursts of API traffic during periods where many clan members were online.
There are no changes to RuneLite game interaction, overlays, automation, or external services used by the plugin. The plugin continues to communicate only with the existing Rancour PvM backend.