mirror of
https://github.com/hibiken/asynq.git
synced 2024-12-27 16:13:40 +08:00
Minor comment fix
This commit is contained in:
parent
a28f61f313
commit
92d77bbc6e
@ -173,7 +173,7 @@ func SeedEnqueuedQueue(tb testing.TB, r *redis.Client, msgs []*base.TaskMessage,
|
|||||||
|
|
||||||
// SeedAllEnqueuedQueues initializes all of the specified queues with the given messages.
|
// SeedAllEnqueuedQueues initializes all of the specified queues with the given messages.
|
||||||
//
|
//
|
||||||
// enqueued map maps a queue name a list of messages.
|
// enqueued maps a queue name to a list of messages.
|
||||||
func SeedAllEnqueuedQueues(tb testing.TB, r *redis.Client, enqueued map[string][]*base.TaskMessage) {
|
func SeedAllEnqueuedQueues(tb testing.TB, r *redis.Client, enqueued map[string][]*base.TaskMessage) {
|
||||||
for q, msgs := range enqueued {
|
for q, msgs := range enqueued {
|
||||||
SeedEnqueuedQueue(tb, r, msgs, q)
|
SeedEnqueuedQueue(tb, r, msgs, q)
|
||||||
|
Loading…
Reference in New Issue
Block a user