[PR #353] [MERGED] Add caching when querying IDP Manager #12521

Closed
opened 2026-08-05 02:06:05 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/353
Author: @braginini
Created: 6/5/2022
Status: Merged
Merged: 6/5/2022
Merged by: @braginini

Base: mainHead: account_cache


📝 Commits (8)

  • ed728a6 Add gocache to DefaultAccount manager
  • ffe28df Use account cache and reload when stale
  • 5f116b7 Add cache values expiration
  • 85336ef Refactor caching code
  • a787426 Fix golint errors
  • 5e07a14 Bump eko gocache version
  • 5580543 Downgrade eko cache version
  • ed8f235 Increase cache value expiration

📊 Changes

3 files changed (+285 additions, -29 deletions)

View changed files

📝 go.mod (+30 -9)
📝 go.sum (+192 -12)
📝 management/server/account.go (+63 -8)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/353 **Author:** [@braginini](https://github.com/braginini) **Created:** 6/5/2022 **Status:** ✅ Merged **Merged:** 6/5/2022 **Merged by:** [@braginini](https://github.com/braginini) **Base:** `main` ← **Head:** `account_cache` --- ### 📝 Commits (8) - [`ed728a6`](https://github.com/netbirdio/netbird/commit/ed728a6a006a758042d9681b1e5251e200560543) Add gocache to DefaultAccount manager - [`ffe28df`](https://github.com/netbirdio/netbird/commit/ffe28df69f0f22ce2e08b0cf0e92b75500f76aef) Use account cache and reload when stale - [`5f116b7`](https://github.com/netbirdio/netbird/commit/5f116b769be1ba74d4b6ea2eafa2e7aa3f7212a4) Add cache values expiration - [`85336ef`](https://github.com/netbirdio/netbird/commit/85336ef08f703628fb1fad3c5cf047447f1512bf) Refactor caching code - [`a787426`](https://github.com/netbirdio/netbird/commit/a78742603d592efb1665876dce93d2d93610735e) Fix golint errors - [`5e07a14`](https://github.com/netbirdio/netbird/commit/5e07a14a31983fe2cf87c55f11434dc54e1261c0) Bump eko gocache version - [`5580543`](https://github.com/netbirdio/netbird/commit/558054302907d65628b13a0920617eec2eef8129) Downgrade eko cache version - [`ed8f235`](https://github.com/netbirdio/netbird/commit/ed8f23559218c0cb8d2ab8b0beec29169a30fb65) Increase cache value expiration ### 📊 Changes **3 files changed** (+285 additions, -29 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+30 -9) 📝 `go.sum` (+192 -12) 📝 `management/server/account.go` (+63 -8) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 02:06:05 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#12521