mirror of
https://github.com/hibiken/asynq.git
synced 2024-11-10 11:31:58 +08:00
[ci skip] Remove todo comment
This commit is contained in:
parent
3c722386b0
commit
a425f54d23
@ -67,7 +67,6 @@ func (r *RDB) Dequeue(qnames ...string) (*base.TaskMessage, error) {
|
|||||||
if len(qnames) == 1 {
|
if len(qnames) == 1 {
|
||||||
data, err = r.dequeueSingle(base.QueueKey(qnames[0]))
|
data, err = r.dequeueSingle(base.QueueKey(qnames[0]))
|
||||||
} else {
|
} else {
|
||||||
// TODO(hibiken): Take keys are argument and don't compute every time
|
|
||||||
var keys []string
|
var keys []string
|
||||||
for _, q := range qnames {
|
for _, q := range qnames {
|
||||||
keys = append(keys, base.QueueKey(q))
|
keys = append(keys, base.QueueKey(q))
|
||||||
|
Loading…
Reference in New Issue
Block a user