[PR #566] [MERGED] Do not setLastStateChangeToNow every expireEphemeralNodesWorker call #1485

Closed
opened 2025-12-29 02:30:15 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/566
Author: @juanfont
Created: 4/30/2022
Status: Merged
Merged: 4/30/2022
Merged by: @kradalby

Base: mainHead: fix-spurious-updates


📝 Commits (2)

  • 843e2bd Do not setLastStateChangeToNow every 5 seconds
  • 03659c4 Updated changelog

📊 Changes

2 files changed (+6 additions, -1 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 app.go (+5 -1)

📄 Description

setLastStateChangeToNow was being called everytime we run expireEphemeralNodesWorker, even if there are no nodes to expire.

  • updated CHANGELOG.md

🔄 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/juanfont/headscale/pull/566 **Author:** [@juanfont](https://github.com/juanfont) **Created:** 4/30/2022 **Status:** ✅ Merged **Merged:** 4/30/2022 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `fix-spurious-updates` --- ### 📝 Commits (2) - [`843e2bd`](https://github.com/juanfont/headscale/commit/843e2bd9b63872d18ff0cfbe6e121aeb1a4d3076) Do not setLastStateChangeToNow every 5 seconds - [`03659c4`](https://github.com/juanfont/headscale/commit/03659c417507149df7dc294669077ad713063e6a) Updated changelog ### 📊 Changes **2 files changed** (+6 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `app.go` (+5 -1) </details> ### 📄 Description `setLastStateChangeToNow` was being called everytime we run `expireEphemeralNodesWorker`, even if there are no nodes to expire. - [x] updated CHANGELOG.md --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 02:30:15 +01:00
adam closed this issue 2025-12-29 02:30:15 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1485