1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Fix busy counter in UI, update changes

This commit is contained in:
Mike Perham 2014-03-08 14:33:25 -08:00
parent 8d55757f6e
commit 5e66719df6
3 changed files with 5 additions and 8 deletions

View file

@ -10,16 +10,14 @@ Please see [Upgrading.md](Upgrading.md) for more comprehensive upgrade notes.
after 6 months or 10,000 jobs. The Web UI contains a "Dead" tab
exposing these jobs.
- **Process Heartbeat** - each Sidekiq process will ping Redis every 5
seconds to give an accurate summary of the Sidekiq population at work.
seconds to give a summary of the Sidekiq population at work.
- The Workers tab is now renamed to Busy and contains a list of live
Sidekiq processes with a heartbeat.
Sidekiq processes and jobs in progress.
- **Remove official support for Ruby 1.9** Things still might work but
I no longer actively test on it.
- **Remove built-in support for Redis-to-Go**.
Heroku users: `heroku config:set REDIS_PROVIDER=REDISTOGO_URL`
- Removed 'sidekiq/yaml\_patch', this was never documented or recommended.
- Removed the 'started' worker data, it originally provided compatibility with resque-web
but overlaps the 'run\_at' worker data.
- **Remove built-in error integration for Airbrake, Honeybadger, ExceptionNotifier and Exceptional**.
Each error gem should provide its own Sidekiq integration. Update your error gem to the latest
version to pick up Sidekiq support.
@ -27,7 +25,6 @@ Please see [Upgrading.md](Upgrading.md) for more comprehensive upgrade notes.
- Remove deprecated support for the old Sidekiq::Worker#retries\_exhausted method.
- Remove usage of the term 'Worker' in the UI for clarity. Users would call both threads and
processes 'workers'. Instead, use "Thread", "Process" or "Job".
- Add new 💣 alias for #clear in API.
2.17.7
-----------

View file

@ -10,8 +10,8 @@ changes a few data elements in Redis. To upgrade cleanly:
- `Sidekiq::Client.registered_workers` replaced by `Sidekiq::Workers.new`
- `Sidekiq::Client.registered_queues` replaced by `Sidekiq::Queue.all`
- `Sidekiq::Worker#retries_exhausted` replaced by `Sidekiq::Worker.sidekiq_retries_exhausted`
- `Sidekiq::Workers#each` has removed the third block argument `worker, msg, started_at`
since it was redundant with `msg['run_at']`
- `Sidekiq::Workers#each` has changed significantly with a reworking
of Sidekiq's internal process/thread data model.
* Redis-to-Go is no longer transparently activated on Heroku so as to not play
favorites with any particular Redis service. You need to set a config option
for your app:

View file

@ -35,7 +35,7 @@ module Sidekiq
end
def workers_size
@workers_size ||= Sidekiq.redis { |conn| conn.get('busy') }.to_i
@workers_size ||= workers.size
end
def workers