Skip to content

Commit

Permalink
Update sidekiq schedule to move under scheduler key
Browse files Browse the repository at this point in the history
  • Loading branch information
kentsanggds committed Feb 22, 2024
1 parent 4f3cbae commit 14e8fa9
Showing 1 changed file with 32 additions and 28 deletions.
60 changes: 32 additions & 28 deletions config/sidekiq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 * * *'

0 comments on commit 14e8fa9

Please sign in to comment.