mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Update capsule.md (#5497)
This commit is contained in:
parent
aecf95fea1
commit
e0df461d69
1 changed files with 3 additions and 3 deletions
|
@ -47,7 +47,7 @@ Sidekiq.configure_server do |config|
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
Capsules can have their own customzied middleware chains but by default will inherit the global middleware configuration. Each Capsule will have its own Redis connection pool sized to the configured concurrency.
|
Capsules can have their own customized middleware chains but by default will inherit the global middleware configuration. Each Capsule will have its own Redis connection pool sized to the configured concurrency.
|
||||||
|
|
||||||
`Sidekiq::Launcher` is the top-level component which takes a `Sidekiq::Config` and launches the
|
`Sidekiq::Launcher` is the top-level component which takes a `Sidekiq::Config` and launches the
|
||||||
tree of runtime components for each capsule. Once passed to Launcher, the global Config and each Capsule should be considered frozen and immutable.
|
tree of runtime components for each capsule. Once passed to Launcher, the global Config and each Capsule should be considered frozen and immutable.
|
||||||
|
@ -136,5 +136,5 @@ Sidekiq::Capsule overrides Sidekiq::Config in order to provide Capsule-local res
|
||||||
you'll see places within Sidekiq where Capsule acts like a Config.
|
you'll see places within Sidekiq where Capsule acts like a Config.
|
||||||
|
|
||||||
With this pattern, we greatly reduce the use of global APIs throughout Sidekiq internals.
|
With this pattern, we greatly reduce the use of global APIs throughout Sidekiq internals.
|
||||||
Where beforefore we'd call `Sidekiq.xyz`, we instead provide similar functionality like
|
Where before we'd call `Sidekiq.xyz`, we instead provide similar functionality like
|
||||||
`config.xyz`.
|
`config.xyz`.
|
||||||
|
|
Loading…
Reference in a new issue