1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-19 05:09:38 +02:00

Use Redis for ActiveJob and ActionCable (#2004)

* Use Redis for ActiveJob and ActionCable

* Fix alwaysApply setting

* Update queue names and weights

* Tweak weights

* Update job queues

* Update docker setup guide

* Remove deprecated upgrade columns from users table

* Refactor Redis configuration for Sidekiq and caching in production environment

* Add Sidekiq Sentry monitoring

* queue naming fix

* Clean up schema
This commit is contained in:
Zach Gollwitzer 2025-03-19 12:36:16 -04:00 committed by GitHub
parent a7db914005
commit 19cc63c8f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
75 changed files with 328 additions and 1684 deletions

View file

@ -1,3 +1,5 @@
require "sidekiq/web"
Rails.application.routes.draw do
# MFA routes
resource :mfa, controller: "mfa", only: [ :new, :create ] do
@ -6,7 +8,8 @@ Rails.application.routes.draw do
delete :disable
end
mount GoodJob::Engine => "good_job"
# Uses basic auth - see config/initializers/sidekiq.rb
mount Sidekiq::Web => "/sidekiq"
get "changelog", to: "pages#changelog"
get "feedback", to: "pages#feedback"
@ -158,14 +161,6 @@ Rails.application.routes.draw do
get :accept, on: :member
end
# For managing self-hosted upgrades and release notifications
resources :upgrades, only: [] do
member do
post :acknowledge
post :deploy
end
end
resources :currencies, only: %i[show]
resources :impersonation_sessions, only: [ :create ] do