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

wordsmithing

This commit is contained in:
Mike Perham 2014-03-24 20:43:33 -07:00
parent b067250999
commit 0d4b726f7b

View file

@ -31,9 +31,9 @@ end
``` ```
- **Process Heartbeat** - each Sidekiq process will ping Redis every 5 - **Process Heartbeat** - each Sidekiq process will ping Redis every 5
seconds to give a summary of the Sidekiq population at work. seconds to give a summary of the Sidekiq population at work.
- **Targetable Client** - Sidekiq::Client instances can target different - **Shardable Client** - Sidekiq::Client instances can use a custom
Redis instances, allowing very large Sidekiq installations to scale by Redis connection pool, allowing very large Sidekiq installations to scale by
targeting different jobs to different Redis instances. sharding: sending different jobs to different Redis instances.
```ruby ```ruby
client = Sidekiq::Client.new(ConnectionPool.new { Redis.new }) client = Sidekiq::Client.new(ConnectionPool.new { Redis.new })
client.push(...) client.push(...)