Skip to content

Commit

Permalink
chore: fix function names in comment (pull request #860 from camcui/m…
Browse files Browse the repository at this point in the history
…aster)

chore: fix function names in comment
  • Loading branch information
kamikazechaser authored Apr 22, 2024
2 parents 8df0bfa + b35b559 commit 2b632b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/rdb/rdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,7 @@ redis.call("ZREMRANGEBYSCORE", KEYS[1], "-inf", ARGV[1])
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.
func (r *RDB) ReclaimStaleAggregationSets(qname string) error {
var op errors.Op = "RDB.ReclaimStaleAggregationSets"
Expand Down
2 changes: 1 addition & 1 deletion tools/asynq/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ func createRDB() *rdb.RDB {
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 {
return asynq.NewInspector(getRedisConnOpt())
}
Expand Down

0 comments on commit 2b632b9

Please sign in to comment.