[GH-ISSUE #728] [FEATURE REQUEST] Ignore error on calculating RDB.MemoryUsage #2380

Open
opened 2026-03-15 20:18:29 +03:00 by kerem · 1 comment
Owner

Originally created by @NyaMisty on GitHub (Aug 24, 2023).
Original GitHub issue: https://github.com/hibiken/asynq/issues/728

Originally assigned to: @hibiken on GitHub.

Is your feature request related to a problem? Please describe.

On Redis SaaS platform like Redis Cloud or Upstash, they disable MEMORY USAGE command in Lua script (reporting error "This Redis command is not allowed from scripts"), causing the whole Inspector.GetQueueInfo() function fails.

Describe the solution you'd like

As MemoryUsage is not a critical stat data, can we ignore error in memory usage query?

Originally created by @NyaMisty on GitHub (Aug 24, 2023). Original GitHub issue: https://github.com/hibiken/asynq/issues/728 Originally assigned to: @hibiken on GitHub. **Is your feature request related to a problem? Please describe.** On Redis SaaS platform like Redis Cloud or Upstash, they disable MEMORY USAGE command in Lua script (reporting error "This Redis command is not allowed from scripts"), causing the whole Inspector.GetQueueInfo() function fails. **Describe the solution you'd like** As MemoryUsage is not a critical stat data, can we ignore error in memory usage query?
Author
Owner

@ankur-a commented on GitHub (Mar 25, 2024):

@hibiken any plan to explore this use case? Facing a similar issue on running asynqmon which fails due to memory usage script failing to run on redis cloud platform.

<!-- gh-comment-id:2017737056 --> @ankur-a commented on GitHub (Mar 25, 2024): @hibiken any plan to explore this use case? Facing a similar issue on running asynqmon which fails due to memory usage script failing to run on redis cloud platform.
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#2380
No description provided.