[PR #1036] fix: remove redundent cache because it cause panels don't show the qu… #3014

Open
opened 2026-03-15 21:15:32 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hibiken/asynq/pull/1036
Author: @DOO-DEV
Created: 3/15/2025
Status: 🔄 Open

Base: masterHead: fix/fix-remove-redundent-cache


📝 Commits (1)

  • 6d11b08 fix: remove redundent cache because it cause panels don't show the queues after deletion

📊 Changes

1 file changed (+3 additions, -5 deletions)

View changed files

📝 internal/rdb/rdb.go (+3 -5)

📄 Description

in the code if the sync.Map remain, after deletion of each queue in panels like(asynqmon, aysnq-cli,...) the queue doesn't add to the redis set (asynq:queues).
this operation is idempotent. and the cost of it is low


🔄 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/hibiken/asynq/pull/1036 **Author:** [@DOO-DEV](https://github.com/DOO-DEV) **Created:** 3/15/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `fix/fix-remove-redundent-cache` --- ### 📝 Commits (1) - [`6d11b08`](https://github.com/hibiken/asynq/commit/6d11b08705f6ce442115bb7c4a0acc1e75887e71) fix: remove redundent cache because it cause panels don't show the queues after deletion ### 📊 Changes **1 file changed** (+3 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `internal/rdb/rdb.go` (+3 -5) </details> ### 📄 Description in the code if the sync.Map remain, after deletion of each queue in panels like(asynqmon, aysnq-cli,...) the queue doesn't add to the redis set (asynq:queues). this operation is idempotent. and the cost of it is low --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynq#3014
No description provided.