diff --git a/Gemfile b/Gemfile index c5ac64538..2778cbdb0 100644 --- a/Gemfile +++ b/Gemfile @@ -40,10 +40,13 @@ gem "sentry-ruby" gem "sentry-rails" gem "rails_structured_logging", bc: "rails-structured-logging" gem "yabeda" -gem "yabeda-rails" -gem "yabeda-puma-plugin" -gem "webrick" # required for yabeda-prometheus metrics server +gem "yabeda-activejob", github: "rosa/yabeda-activejob", branch: "support-end-time-in-seconds" +gem "yabeda-gc" +gem "yabeda-http_requests" gem "yabeda-prometheus-mmap" +gem "yabeda-puma-plugin" +gem "yabeda-rails" +gem "webrick" # required for yabeda-prometheus metrics server gem "prometheus-client-mmap", "~> 1.1" # AI diff --git a/Gemfile.lock b/Gemfile.lock index 0f362ba60..243cc1489 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -197,6 +197,15 @@ GIT tsort (>= 0.2) zeitwerk (~> 2.6) +GIT + remote: https://github.com/rosa/yabeda-activejob.git + revision: 08207e7dddf6f4dd1d039c1ddf792b35655a3feb + branch: support-end-time-in-seconds + specs: + yabeda-activejob (0.5.0) + rails (>= 5.2) + yabeda (~> 0.6) + PATH remote: gems/fizzy-saas specs: @@ -548,6 +557,9 @@ GEM sentry-ruby (5.27.0) bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) + sniffer (0.5.0) + anyway_config (>= 1.0) + dry-initializer (~> 3) solid_cable (3.0.12) actioncable (>= 7.2) activejob (>= 7.2) @@ -627,6 +639,11 @@ GEM anyway_config (>= 1.0, < 3) concurrent-ruby dry-initializer + yabeda-gc (0.4.0) + yabeda (~> 0.6) + yabeda-http_requests (0.2.1) + sniffer + yabeda yabeda-prometheus-mmap (0.4.0) prometheus-client-mmap yabeda (~> 0.10) @@ -704,6 +721,9 @@ DEPENDENCIES webmock webrick yabeda + yabeda-activejob! + yabeda-gc + yabeda-http_requests yabeda-prometheus-mmap yabeda-puma-plugin yabeda-rails diff --git a/config/initializers/yabeda.rb b/config/initializers/yabeda.rb index 01362115a..cf1adbd4f 100644 --- a/config/initializers/yabeda.rb +++ b/config/initializers/yabeda.rb @@ -4,5 +4,7 @@ Prometheus::Client.configuration.logger = Rails.logger Prometheus::Client.configuration.pid_provider = Prometheus::Client::Support::Puma.method(:worker_pid_provider) Yabeda::Rails.config.controller_name_case = :camel +Yabeda::ActiveJob.install! + require "yabeda/solid_queue" Yabeda::SolidQueue.install!