Skip to content

Commit

Permalink
Merge pull request #1922 from cangqiaoyuzhuo/main
Browse files Browse the repository at this point in the history
chore: fix function name in comment
  • Loading branch information
pixelmaxQm authored Oct 30, 2024
2 parents 25a996f + 1b74dc8 commit 08496c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/utils/timer/timed_task.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func (t *timer) AddTaskByJobWithSeconds(cronName string, spec string, job interf
return id, err
}

// FindTask 获取对应cronName的cron 可能会为空
// FindCron 获取对应cronName的cron 可能会为空
func (t *timer) FindCron(cronName string) (*taskManager, bool) {
t.Lock()
defer t.Unlock()
Expand Down

0 comments on commit 08496c2

Please sign in to comment.