2022-12-24 15:23:53 -08:00
|
|
|
.card
|
|
|
|
.card-header
|
|
|
|
%a.d-flex{ href: sidekiq_web_path }
|
2022-12-24 15:29:24 -08:00
|
|
|
%strong= t(".title")
|
2023-01-04 02:00:45 -08:00
|
|
|
%i.fa.fa-chevron-right.ms-auto.align-self-center
|
2022-12-24 15:23:53 -08:00
|
|
|
- unless @sidekiq[:processes].count.positive?
|
|
|
|
.card-body.bg-danger.text-light
|
2022-12-24 15:29:24 -08:00
|
|
|
= t(".error_html", env: Rails.env)
|
2022-12-24 15:23:53 -08:00
|
|
|
|
|
|
|
.list-group
|
|
|
|
.list-group-item.d-flex
|
2022-12-24 15:29:24 -08:00
|
|
|
%span= t(".processes")
|
2023-01-04 02:00:45 -08:00
|
|
|
%span.ms-auto= @sidekiq[:processes].count
|
2022-12-24 15:23:53 -08:00
|
|
|
.list-group-item.d-flex
|
2022-12-24 15:29:24 -08:00
|
|
|
%span= t(".enqueued")
|
2023-01-04 02:00:45 -08:00
|
|
|
%span.ms-auto= @sidekiq[:stats].enqueued
|
2022-12-24 15:23:53 -08:00
|
|
|
.list-group-item.d-flex
|
2022-12-24 15:29:24 -08:00
|
|
|
%span= t(".retries")
|
2023-01-04 02:00:45 -08:00
|
|
|
%span.ms-auto= @sidekiq[:stats].retry_size
|
2022-12-24 15:23:53 -08:00
|
|
|
.list-group-item.d-flex
|
2022-12-24 15:29:24 -08:00
|
|
|
%span= t(".dead")
|
2023-01-04 02:00:45 -08:00
|
|
|
%span.ms-auto= @sidekiq[:stats].dead_size
|