[PR #2865] [MERGED] Fix the Inactivity Expiration problem. #15732

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/2865
Author: @ismail0234
Created: 11/8/2024
Status: Merged
Merged: 11/15/2024
Merged by: @pascal-fischer

Base: mainHead: inactivity-expiration


📝 Commits (1)

  • 156fa32 Fix the Inactivity Expiration problem.

📊 Changes

1 file changed (+17 additions, -12 deletions)

View changed files

📝 management/server/account.go (+17 -12)

📄 Description

Describe your changes

Even if inactivity is disabled before the change, the scheduled method can still be triggered. The method is never triggered when inactivity is disabled after the change. This is necessary to solve the error problem of SQL Tests.

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/2865 **Author:** [@ismail0234](https://github.com/ismail0234) **Created:** 11/8/2024 **Status:** ✅ Merged **Merged:** 11/15/2024 **Merged by:** [@pascal-fischer](https://github.com/pascal-fischer) **Base:** `main` ← **Head:** `inactivity-expiration` --- ### 📝 Commits (1) - [`156fa32`](https://github.com/netbirdio/netbird/commit/156fa32179288f256ec9ce496203e83763c1ced5) Fix the Inactivity Expiration problem. ### 📊 Changes **1 file changed** (+17 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `management/server/account.go` (+17 -12) </details> ### 📄 Description ## Describe your changes Even if inactivity is disabled before the change, the scheduled method can still be triggered. The method is never triggered when inactivity is disabled after the change. This is necessary to solve the error problem of SQL Tests. ### 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#15732