File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -178,9 +178,10 @@ queue_options:
178
178
179
179
### Important notice - Lazy Connections ###
180
180
181
- In current Symfony release (v2.3) all services are fully bootstrapped for each request, a lazy loading support
182
- will be added in the future to save resources. Services in this bundle, by default, will open connections
183
- to the brokers at loading time, i.e. during every web request, unless you set `lazy: true` in your connection configuration.
181
+ In a Symfony environment all services are fully bootstrapped for each request, from version >= 2.3 you can declare
182
+ a service as lazy ([Lazy Services](http://symfony.com/doc/master/components/dependency_injection/lazy_services.html)).
183
+ This bundle still doesn't support new Lazy Services feature but you can set `lazy: true` in your connection
184
+ configuration to avoid unnecessary connections to your message broker in every request.
184
185
It's extremely recommended to use lazy connections because performance reasons, nevertheless lazy option is disabled
185
186
by default to avoid possible breaks in applications already using this bundle.
186
187
You can’t perform that action at this time.
0 commit comments