mirror of
https://github.com/hibiken/asynq.git
synced 2024-12-25 23:32:17 +08:00
chore: fix function names in comment
Signed-off-by: camcui <cuishua@sina.cn>
This commit is contained in:
parent
8df0bfa583
commit
b35b559d40
@ -1217,7 +1217,7 @@ redis.call("ZREMRANGEBYSCORE", KEYS[1], "-inf", ARGV[1])
|
|||||||
return redis.status_reply("OK")
|
return redis.status_reply("OK")
|
||||||
`)
|
`)
|
||||||
|
|
||||||
// ReclaimStateAggregationSets checks for any stale aggregation sets in the given queue, and
|
// ReclaimStaleAggregationSets checks for any stale aggregation sets in the given queue, and
|
||||||
// reclaim tasks in the stale aggregation set by putting them back in the group.
|
// reclaim tasks in the stale aggregation set by putting them back in the group.
|
||||||
func (r *RDB) ReclaimStaleAggregationSets(qname string) error {
|
func (r *RDB) ReclaimStaleAggregationSets(qname string) error {
|
||||||
var op errors.Op = "RDB.ReclaimStaleAggregationSets"
|
var op errors.Op = "RDB.ReclaimStaleAggregationSets"
|
||||||
|
@ -369,7 +369,7 @@ func createRDB() *rdb.RDB {
|
|||||||
return rdb.NewRDB(c)
|
return rdb.NewRDB(c)
|
||||||
}
|
}
|
||||||
|
|
||||||
// createRDB creates a Inspector instance using flag values and returns it.
|
// createInspector creates a Inspector instance using flag values and returns it.
|
||||||
func createInspector() *asynq.Inspector {
|
func createInspector() *asynq.Inspector {
|
||||||
return asynq.NewInspector(getRedisConnOpt())
|
return asynq.NewInspector(getRedisConnOpt())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user