Skip to content

Commit

Permalink
chore: change env name
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-ding committed Nov 20, 2024
1 parent ee14cc6 commit 990da92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/core/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
func (c *Client) addSysCron() {
c.registerCronJob("check_running_tasks", "@every 1m", c.checkTasks)
c.registerCronJob("check_available_medias_to_download", "0 0 * * * *", func() error {
v := os.Getenv("NO_AUTO_DOWNLOAD")
v := os.Getenv("POLARIS_NO_AUTO_DOWNLOAD")
if v == "true" {
return nil
}
Expand Down

0 comments on commit 990da92

Please sign in to comment.