Cache more forgejo-authentication source queries #172

Merged
christian-monch merged 2 commits from forgejo-authsource-caching into master 2025-11-26 18:50:35 +00:00
christian-monch commented 2025-11-26 15:24:55 +00:00 (Migrated from github.com)

The PR caches the following operations in forgejo authentication sources (with indicated expiration time):

  • perform token authentication: 60 seconds
  • get team-membership of user: 120 seconds
  • get user information, i.e. user-id: 120 seconds
  • get organization information: 300 seconds
  • get organization-membership of team: 300 seconds
  • get repo-membership of team: 300 seconds
The PR caches the following operations in forgejo authentication sources (with indicated expiration time): - perform token authentication: 60 seconds - get team-membership of user: 120 seconds - get user information, i.e. user-id: 120 seconds - get organization information: 300 seconds - get organization-membership of team: 300 seconds - get repo-membership of team: 300 seconds
Sign in to join this conversation.
No description provided.