2022-12-24 15:18:17 -08:00
|
|
|
.row
|
|
|
|
.col-sm-6
|
|
|
|
.card
|
|
|
|
.card-header
|
|
|
|
%a.d-flex{ href: sidekiq_web_path }
|
|
|
|
%strong Sidekiq
|
|
|
|
%i.fa.fa-chevron-right.ml-auto.align-self-center
|
|
|
|
- unless @sidekiq[:processes].count.positive?
|
|
|
|
.card-body.bg-danger.text-light
|
|
|
|
%strong There are no Sidekiq processes running.
|
|
|
|
Background jobs will not be processed.
|
|
|
|
%br
|
|
|
|
To fix this, run
|
|
|
|
%tt RAILS_ENV=#{Rails.env} bundle exec sidekiq
|
2022-12-24 14:43:27 -08:00
|
|
|
|
2022-12-24 15:18:17 -08:00
|
|
|
.list-group
|
|
|
|
.list-group-item.d-flex
|
|
|
|
%span Processes
|
|
|
|
%span.ml-auto= @sidekiq[:processes].count
|
|
|
|
.list-group-item.d-flex
|
|
|
|
%span Enqueued
|
|
|
|
%span.ml-auto= @sidekiq[:stats].enqueued
|
|
|
|
.list-group-item.d-flex
|
|
|
|
%span Retries
|
|
|
|
%span.ml-auto= @sidekiq[:stats].retry_size
|
|
|
|
.list-group-item.d-flex
|
|
|
|
%span Dead
|
|
|
|
%span.ml-auto= @sidekiq[:stats].dead_size
|
2022-11-20 08:58:44 -08:00
|
|
|
|
|
|
|
- parent_layout "admin"
|