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

2 commits

Author SHA1 Message Date
Christian Mönch
3575400adb update CHANGELOG.md, bump version 2025-11-26 16:31:04 +01:00
Christian Mönch
7ad500f54d cache more forgejo-authentication source queries
The code now caches the following operations for the
indicated duration:

- 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
2025-11-26 16:30:54 +01:00