asynq icon indicating copy to clipboard operation
asynq copied to clipboard

[FEATURE REQUEST] Ignore error on calculating RDB.MemoryUsage

Open NyaMisty opened this issue 1 year ago • 1 comments

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?

NyaMisty avatar Aug 24 '23 12:08 NyaMisty

@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.

ankur-a avatar Mar 25 '24 11:03 ankur-a