Skip to content

Commit 66f3cdf

Browse files
chore development.rb, production.rb: task #7
ProductSyncJob cron per 10 minutes.
1 parent ae33644 commit 66f3cdf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/environments/development.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
config.good_job.enable_cron = false
7777
config.good_job.cron = {
7878
product_sync_job: {
79-
cron: "*/60 * * * *",
79+
cron: "*/10 * * * *",
8080
class: "ProductSyncJob",
8181
args: [1],
8282
set: { priority: 1 },

config/environments/production.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
config.good_job.enable_cron = true
102102
config.good_job.cron = {
103103
product_sync_job: {
104-
cron: "*/60 * * * *",
104+
cron: "*/10 * * * *",
105105
class: "ProductSyncJob",
106106
args: [1],
107107
set: { priority: 1 },

0 commit comments

Comments
 (0)