From 04a50ce2bb7ab361d10d0c2a9c6042e35db6d785 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ce=C4=BEuch?= Date: Tue, 22 Oct 2024 12:15:26 +0200 Subject: [PATCH] bump good_job to 4.4 (#34) --- Gemfile | 2 +- Gemfile.lock | 16 ++++++++-------- config/application.rb | 1 - 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/Gemfile b/Gemfile index edc8fa5..ec8b896 100644 --- a/Gemfile +++ b/Gemfile @@ -53,4 +53,4 @@ group :development do # gem "spring" end -gem "good_job", "~> 3.28" +gem "good_job", "~> 4.4" diff --git a/Gemfile.lock b/Gemfile.lock index 9636bfe..a7887f7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -107,13 +107,13 @@ GEM raabro (~> 1.4) globalid (1.2.1) activesupport (>= 6.1) - good_job (3.99.1) - activejob (>= 6.0.0) - activerecord (>= 6.0.0) - concurrent-ruby (>= 1.0.2) - fugit (>= 1.1) - railties (>= 6.0.0) - thor (>= 0.14.1) + good_job (4.4.2) + activejob (>= 6.1.0) + activerecord (>= 6.1.0) + concurrent-ruby (>= 1.3.1) + fugit (>= 1.11.0) + railties (>= 6.1.0) + thor (>= 1.0.0) google-cloud-env (2.2.1) faraday (>= 1.0, < 3.a) googleauth (1.11.1) @@ -265,7 +265,7 @@ DEPENDENCIES dotenv-rails faraday fcm - good_job (~> 3.28) + good_job (~> 4.4) jbuilder jwt pg diff --git a/config/application.rb b/config/application.rb index b7184f6..86dcd85 100644 --- a/config/application.rb +++ b/config/application.rb @@ -49,7 +49,6 @@ class Application < Rails::Application config.good_job.max_threads = 2 config.good_job.execution_mode = :async config.good_job.enable_cron = true - config.good_job.smaller_number_is_higher_priority = true config.good_job.cron = { delete_expired_documents: {