mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
wordsmithing
This commit is contained in:
parent
b067250999
commit
0d4b726f7b
1 changed files with 3 additions and 3 deletions
|
@ -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(...)
|
||||||
|
|
Loading…
Add table
Reference in a new issue