2
0
mirror of https://github.com/hibiken/asynq.git synced 2026-08-16 09:37:14 +08:00

docs: add inline clarification on DISABLE_MEMORY_USAGE_PROFILING usage

This commit is contained in:
Mohammed Sohail
2026-06-12 12:03:33 +03:00
parent c5474c501b
commit d135f1439b

View File

@@ -138,6 +138,8 @@ table.insert(res, aggregating_count)
return res`)
// CurrentStats returns a current state of the queues.
// if DISABLE_MEMORY_USAGE_PROFILING is set to "true" or any non empty value, memory usage profiling will be disabled
// which is otherwise always performed..
func (r *RDB) CurrentStats(qname string) (*Stats, error) {
var op errors.Op = "rdb.CurrentStats"
exists, err := r.queueExists(qname)