mirror of
https://github.com/hibiken/asynq.git
synced 2024-11-10 11:31:58 +08:00
chore: fix function names in comment (pull request #860 from camcui/master)
chore: fix function names in comment
This commit is contained in:
commit
2b632b93d5
@ -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