Skip to content

Commit

Permalink
perf: 半小时检查一次更新
Browse files Browse the repository at this point in the history
  • Loading branch information
onlyLTY committed Aug 29, 2023
1 parent 1802c9a commit 91630b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onekeyupdate.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func main() {
corndanmu := cron.New(cron.WithParser(cron.NewParser(
cron.Minute | cron.Hour | cron.Dom | cron.Month | cron.Dow,
)))
_, err = corndanmu.AddFunc("0 */12 * * *", func() {
_, err = corndanmu.AddFunc("30 * * * *", func() {
list, err := utiles.GetImagesList(ctx)
if err != nil {
panic(err)
Expand Down

0 comments on commit 91630b8

Please sign in to comment.