Skip to content

Commit 8ab213d

Browse files
committed
Add Sidekiq monitoring
1 parent f50f3e1 commit 8ab213d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config/routes.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# frozen_string_literal: true
22

3+
require "sidekiq/web"
4+
require "sidekiq/throttled/web"
5+
36
Rails.application.routes.draw do
47
# Redirect www subdomain to root in production envs
58
unless Rails.env.local?
@@ -37,6 +40,7 @@
3740
root to: redirect("/start")
3841

3942
mount GoodJob::Engine => "/good-job"
43+
mount Sidekiq::Web => "/sidekiq"
4044

4145
get "/start", to: "pages#start"
4246
get "/dashboard", to: "dashboard#index"

0 commit comments

Comments
 (0)