Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to latest Sidekiq-Cron stable #760

Merged
merged 1 commit into from
Oct 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ gem 'prawn', '~> 2.5.0'
gem 'prawn-table', '~> 0.2.2'
gem 'pg_search', '~> 2.3.5'
gem 'sidekiq', '~> 6.5'
gem 'sidekiq-cron', '~> 1.9.1'
gem 'sidekiq-cron', '~> 1.12.0'
gem 'aws-sdk-s3', '~> 1.94', require: false
gem 'image_processing', '~> 1.12'
gem 'active_storage_validations', '~> 1.1.3'
Expand Down
19 changes: 10 additions & 9 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -225,22 +225,22 @@ GEM
net-smtp
marcel (1.0.4)
matrix (0.4.2)
method_source (1.0.0)
method_source (1.1.0)
mime-types (3.5.2)
mime-types-data (~> 3.2015)
mime-types-data (3.2023.1205)
mini_magick (4.12.0)
mini_mime (1.1.5)
minitest (5.25.1)
msgpack (1.7.2)
net-imap (0.4.10)
net-imap (0.5.0)
date
net-protocol
net-pop (0.1.2)
net-protocol
net-protocol (0.2.2)
timeout
net-smtp (0.4.0.1)
net-smtp (0.5.0)
net-protocol
netrc (0.11.0)
nio4r (2.7.3)
Expand Down Expand Up @@ -310,7 +310,7 @@ GEM
thor (~> 1.0)
zeitwerk (~> 2.5)
rainbow (3.1.1)
rake (13.1.0)
rake (13.2.1)
ransack (3.2.1)
activerecord (>= 6.1.5)
activesupport (>= 6.1.5)
Expand Down Expand Up @@ -388,9 +388,10 @@ GEM
connection_pool (>= 2.2.5, < 3)
rack (~> 2.0)
redis (>= 4.5.0, < 5)
sidekiq-cron (1.9.1)
sidekiq-cron (1.12.0)
fugit (~> 1.8)
sidekiq (>= 4.2.1)
globalid (>= 1.0.1)
sidekiq (>= 6)
simple_form (5.0.3)
actionpack (>= 5.0)
activemodel (>= 5.0)
Expand All @@ -408,7 +409,7 @@ GEM
activesupport (>= 5.2)
sprockets (>= 3.0.0)
strscan (3.1.0)
thor (1.3.1)
thor (1.3.2)
tilt (2.3.0)
timeout (0.4.1)
ttfunk (1.8.0)
Expand All @@ -431,7 +432,7 @@ GEM
websocket-extensions (0.1.5)
xpath (3.2.0)
nokogiri (~> 1.8)
zeitwerk (2.6.13)
zeitwerk (2.7.1)

PLATFORMS
arm64-darwin-22
Expand Down Expand Up @@ -479,7 +480,7 @@ DEPENDENCIES
selenium-webdriver (~> 4.16)
shoulda-matchers (~> 4.4)
sidekiq (~> 6.5)
sidekiq-cron (~> 1.9.1)
sidekiq-cron (~> 1.12.0)
simple_form (~> 5.0.2)
simplecov (~> 0.22)
uglifier (~> 4.2.0)
Expand Down
5 changes: 0 additions & 5 deletions config/initializers/sidekiq.rb

This file was deleted.

4 changes: 2 additions & 2 deletions config/schedule.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
send_push_notifications_job:
cron: '*/5 * * * *'
cron: 'every 5 minutes'
class: 'SendPushNotificationsJob'
queue: cron
weekly_digest:
cron: '0 9 * * 1' # every monday at 9am
cron: 'every monday at 9am'
class: 'OrganizationNotifierJob'
queue: cron
Loading