[PR #84] [MERGED] fix: improve Redis subscription error handling with logging and retry #303

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/84
Author: @Yeuoly
Created: 3/10/2025
Status: Merged
Merged: 3/10/2025
Merged by: @Yeuoly

Base: mainHead: fix/deadloop-when-redis-disconnect


📝 Commits (1)

  • 7a988c3 fix: improve Redis subscription error handling with logging and retry

📊 Changes

1 file changed (+4 additions, -2 deletions)

View changed files

📝 internal/utils/cache/redis.go (+4 -2)

📄 Description

After connections to redis has disconnected, daemon will fall into a deadloop and cause a high CPU usage


🔄 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/84 **Author:** [@Yeuoly](https://github.com/Yeuoly) **Created:** 3/10/2025 **Status:** ✅ Merged **Merged:** 3/10/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `fix/deadloop-when-redis-disconnect` --- ### 📝 Commits (1) - [`7a988c3`](https://github.com/langgenius/dify-plugin-daemon/commit/7a988c35a10b0f25e76e56d844751b080533ab5c) fix: improve Redis subscription error handling with logging and retry ### 📊 Changes **1 file changed** (+4 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `internal/utils/cache/redis.go` (+4 -2) </details> ### 📄 Description After connections to redis has disconnected, daemon will fall into a deadloop and cause a high CPU usage --- <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:27 -05:00
yindo closed this issue 2026-02-16 01:15:27 -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#303