[PR #2863] [MERGED] [management] Remove context from database calls #15731

Closed
opened 2026-08-05 03:08:18 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/2863
Author: @pascal-fischer
Created: 11/8/2024
Status: Merged
Merged: 11/8/2024
Merged by: @pascal-fischer

Base: mainHead: fix/remove-context-from-db


📝 Commits (2)

  • 6b0f7bd remove withContext from all database calls
  • 4b6d458 removed special error handling for context cancel from store

📊 Changes

1 file changed (+45 additions, -229 deletions)

View changed files

📝 management/server/sql_store.go (+45 -229)

📄 Description

Describe your changes

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 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/2863 **Author:** [@pascal-fischer](https://github.com/pascal-fischer) **Created:** 11/8/2024 **Status:** ✅ Merged **Merged:** 11/8/2024 **Merged by:** [@pascal-fischer](https://github.com/pascal-fischer) **Base:** `main` ← **Head:** `fix/remove-context-from-db` --- ### 📝 Commits (2) - [`6b0f7bd`](https://github.com/netbirdio/netbird/commit/6b0f7bd7cb1ad86cf523860b2b9f036bbc66beb9) remove withContext from all database calls - [`4b6d458`](https://github.com/netbirdio/netbird/commit/4b6d4588c09d1d5c5e9a8f41c15a550c99a049e3) removed special error handling for context cancel from store ### 📊 Changes **1 file changed** (+45 additions, -229 deletions) <details> <summary>View changed files</summary> 📝 `management/server/sql_store.go` (+45 -229) </details> ### 📄 Description ## Describe your changes ## Issue ticket number and link ### Checklist - [x] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <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 03:08:18 -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#15731