1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/web/views/_summary.slim
Brandon Hilkert 355cc3f604 * Memoize stats instance
* Create more indicative helpers for stats
* Update example for Stats API
2012-12-05 11:46:55 -05:00

19 lines
528 B
Text
Executable file

ul.unstyled.summary
li
span.count #{number_with_delimiter(stats.processed)}
span.desc Processed
li
span.count #{number_with_delimiter(stats.failed)}
span.desc Failed
li
span.count #{number_with_delimiter(workers.size)}
span.desc Busy
li
span.count #{number_with_delimiter(scheduled_job_count)}
span.desc Scheduled
li
span.count #{number_with_delimiter(retry_job_count)}
span.desc Retries
li
span.count #{number_with_delimiter(stats.enqueued)}
span.desc Enqueued