2
0
mirror of https://github.com/hibiken/asynq.git synced 2025-10-26 11:16:12 +08:00

[ci skip] Update todos

This commit is contained in:
Ken Hibino
2019-12-09 06:52:43 -08:00
parent 8932ca41b3
commit 764edc35e3
2 changed files with 4 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ import (
// A Client is responsible for scheduling tasks.
//
// A Client is used to register task that should be processed
// A Client is used to register tasks that should be processed
// immediately or some time in the future.
//
// Clients are safe for concurrent use by multiple goroutines.
@@ -25,7 +25,7 @@ func NewClient(cfg *RedisConfig) *Client {
// Process registers a task to be processed at the specified time.
//
// Process returns nil if the task was registered successfully,
// Process returns nil if the task is registered successfully,
// otherwise returns non-nil error.
func (c *Client) Process(task *Task, processAt time.Time) error {
msg := &rdb.TaskMessage{