diff --git a/config/sidekiq.yml b/config/sidekiq.yml index 997a9697..14cf14d6 100644 --- a/config/sidekiq.yml +++ b/config/sidekiq.yml @@ -8,37 +8,41 @@ import: <%= ENV.fetch('RAILS_MAX_THREADS') { 5 } - 1 %> development: - :schedule: - ckan_v26_package_sync: - class: CKAN::V26::PackageSyncWorker - cron: '*/10 * * * *' - ckan_v26_ckan_org_sync: - class: CKAN::V26::CKANOrgSyncWorker - cron: '*/10 * * * *' + :scheduler: + :schedule: + ckan_v26_package_sync: + class: CKAN::V26::PackageSyncWorker + cron: '*/10 * * * *' + ckan_v26_ckan_org_sync: + class: CKAN::V26::CKANOrgSyncWorker + cron: '*/10 * * * *' integration: - :schedule: - ckan_v26_package_sync: - class: CKAN::V26::PackageSyncWorker - cron: '*/10 * * * *' - ckan_v26_ckan_org_sync: - class: CKAN::V26::CKANOrgSyncWorker - cron: '0 0 * * *' + :scheduler: + :schedule: + ckan_v26_package_sync: + class: CKAN::V26::PackageSyncWorker + cron: '*/10 * * * *' + ckan_v26_ckan_org_sync: + class: CKAN::V26::CKANOrgSyncWorker + cron: '0 0 * * *' staging: - :schedule: - ckan_v26_package_sync: - class: CKAN::V26::PackageSyncWorker - cron: '*/10 * * * *' - ckan_v26_ckan_org_sync: - class: CKAN::V26::CKANOrgSyncWorker - cron: '0 0 * * *' + :scheduler: + :schedule: + ckan_v26_package_sync: + class: CKAN::V26::PackageSyncWorker + cron: '*/10 * * * *' + ckan_v26_ckan_org_sync: + class: CKAN::V26::CKANOrgSyncWorker + cron: '0 0 * * *' production: - :schedule: - ckan_v26_package_sync: - class: CKAN::V26::PackageSyncWorker - cron: '*/10 * * * *' - ckan_v26_ckan_org_sync: - class: CKAN::V26::CKANOrgSyncWorker - cron: '0 0 * * *' + :scheduler: + :schedule: + ckan_v26_package_sync: + class: CKAN::V26::PackageSyncWorker + cron: '*/10 * * * *' + ckan_v26_ckan_org_sync: + class: CKAN::V26::CKANOrgSyncWorker + cron: '0 0 * * *'