2
0
mirror of https://github.com/hibiken/asynq.git synced 2025-08-19 15:08:55 +08:00

fix some typos

Signed-off-by: cui fliter <imcusg@gmail.com>
This commit is contained in:
cui fliter
2023-01-05 15:23:05 +08:00
committed by Ken Hibino
parent 783071c47f
commit cc777ebdaa
6 changed files with 11 additions and 11 deletions

View File

@@ -446,7 +446,7 @@ func nextTaskState(current asynq.TaskState) asynq.TaskState {
}
}
}
panic("unkown task state")
panic("unknown task state")
}
func prevTaskState(current asynq.TaskState) asynq.TaskState {
@@ -459,7 +459,7 @@ func prevTaskState(current asynq.TaskState) asynq.TaskState {
}
}
}
panic("unkown task state")
panic("unknown task state")
}
func getTaskCount(queue *asynq.QueueInfo, taskState asynq.TaskState) int {