hibiken / asynqmon

Web UI for Asynq task queue
MIT License
605 stars 132 forks source link

Ignore error on calculating RDB.MemoryUsage #311

Closed NyaMisty closed 10 months ago

NyaMisty commented 10 months 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 10 months ago

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