mirror of
https://github.com/hibiken/asynq.git
synced 2026-08-31 10:44:31 +08:00
docs: add inline clarification on DISABLE_MEMORY_USAGE_PROFILING usage
This commit is contained in:
@@ -138,6 +138,8 @@ table.insert(res, aggregating_count)
|
|||||||
return res`)
|
return res`)
|
||||||
|
|
||||||
// CurrentStats returns a current state of the queues.
|
// 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) {
|
func (r *RDB) CurrentStats(qname string) (*Stats, error) {
|
||||||
var op errors.Op = "rdb.CurrentStats"
|
var op errors.Op = "rdb.CurrentStats"
|
||||||
exists, err := r.queueExists(qname)
|
exists, err := r.queueExists(qname)
|
||||||
|
|||||||
Reference in New Issue
Block a user