[PR #170] Increase NODE_DISCONNECTED_TIMEOUT #344

Open
opened 2026-02-16 01:15:38 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/170
Author: @liuzhenghua
Created: 4/2/2025
Status: 🔄 Open

Base: mainHead: fix/gc-node


📝 Commits (2)

  • cda126f Increase NODE_DISCONNECTED_TIMEOUT
  • 7084672 Modify the implementation of vote

📊 Changes

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

View changed files

📝 internal/cluster/cluster_lifetime.go (+1 -1)
📝 internal/cluster/vote.go (+1 -1)

📄 Description

The current value of NODE_DISCONNECTED_TIMEOUT is too small. When deleting and creating a new pod, tasks like tickerLockMaster and tickerUpdateNodeStatus may block the tickerUpdateNodeStatus task, causing the health node to be marked as not available, which results in all plugin states being removed.

efc5b9e351d22be82ed84328a19e76c


🔄 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/langgenius/dify-plugin-daemon/pull/170 **Author:** [@liuzhenghua](https://github.com/liuzhenghua) **Created:** 4/2/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/gc-node` --- ### 📝 Commits (2) - [`cda126f`](https://github.com/langgenius/dify-plugin-daemon/commit/cda126f1b91e1bbdc7bae62201a09d077586af6c) Increase NODE_DISCONNECTED_TIMEOUT - [`7084672`](https://github.com/langgenius/dify-plugin-daemon/commit/7084672fe54793be596ba34b84fa8bbffb539306) Modify the implementation of vote ### 📊 Changes **2 files changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `internal/cluster/cluster_lifetime.go` (+1 -1) 📝 `internal/cluster/vote.go` (+1 -1) </details> ### 📄 Description The current value of NODE_DISCONNECTED_TIMEOUT is too small. When deleting and creating a new pod, tasks like tickerLockMaster and tickerUpdateNodeStatus may block the tickerUpdateNodeStatus task, causing the health node to be marked as not available, which results in all plugin states being removed. ![efc5b9e351d22be82ed84328a19e76c](https://github.com/user-attachments/assets/afdeaeef-72e8-470e-b310-c1d35ab6bb20) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 01:15:38 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#344