hibiken / asynqmon

Web UI for Asynq task queue
MIT License
669 stars 152 forks source link

Ignore error on calculating RDB.MemoryUsage #311

Closed NyaMisty closed 1 year ago

NyaMisty commented 1 year ago

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. As MemoryUsage is not a critical stat data, can we ignore error in memory usage query?

NyaMisty commented 1 year ago

Sorry posted on wrong place. I'll repost it in asynq main repo