Skip to content
This repository was archived by the owner on May 6, 2021. It is now read-only.

Always cache the check_api_key_stats API result #60

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brandomeniconi
Copy link

If the api_key provided in the plugin hasn't the stats scope, the check_api_key_stats function doesn't cache the result, leading to an HTTP request to re-check the scopes on every admin page load.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant