Skip to content

Commit 0c6f07f

Browse files
chore development.rb: enable cron false by default and use environment variable.
1 parent 3f293b8 commit 0c6f07f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/environments/development.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
# config.action_cable.disable_request_forgery_protection = true
7474
config.good_job.smaller_number_is_higher_priority = true
7575

76-
config.good_job.enable_cron = false
76+
config.good_job.enable_cron = ENV['ENABLE_CRON'] || false
7777
config.good_job.cron = {
7878
product_sync_job: {
7979
cron: "*/10 * * * *",

0 commit comments

Comments
 (0)