feat(system): add runtime task queue observability dashboard for system admins

Expose live asynq queue depths and worker-pool concurrency via a new SystemAdmin API and settings UI, so operators can monitor parsing/wiki backlog without Redis CLI access.
This commit is contained in:
wizardchen
2026-07-10 22:36:58 +08:00
committed by lyingbug
parent 30f7630ac4
commit fe47ac1f96
16 changed files with 1339 additions and 22 deletions
-1
View File
@@ -182,7 +182,6 @@ func NewParseAsynqServer(svc interfaces.SystemSettingService) *asynq.Server {
log.Printf("asynq parse-pool server starting with concurrency=%d redis_op_timeout=%dms",
concurrency, readRedisOpTimeoutMs())
return newAsynqServer(concurrency, map[string]int{
types.QueueCritical: 6, // Highest priority queue
types.QueueDefault: 3, // Default priority queue
types.QueueLow: 1, // Lowest priority queue
types.QueueMultimodal: 1, // Isolated lane for high-volume slow VLM image tasks