@@ -311,7 +311,7 @@ Custom Provider Options
311311
312312Some providers have specific options that could be configured. The
313313:doc: `RedisAdapter </components/cache/adapters/redis_adapter >` allows you to create
314- providers with option`` lazy ``, ``timeout `` etc. To use these options with non-default
314+ providers with option `` timeout ``, ``retry_interval `` etc. To use these options with non-default
315315values you need to create your own ``\Redis `` provider and use that when configuring
316316the pool.
317317
@@ -333,7 +333,7 @@ the pool.
333333factory :['Symfony\Component\Cache\Adapter\RedisAdapter', 'createConnection']
334334arguments :
335335 -' redis://localhost'
336- -[lazy : true , timeout: 10 ]
336+ -[retry_interval : 2 , timeout: 10 ]
337337
338338 ..code-block ::xml
339339
@@ -355,7 +355,7 @@ the pool.
355355 <service id =" app.my_custom_redis_provider" class =" \Redis" >
356356 <argument >redis://localhost</argument >
357357 <argument type =" collection" >
358- <argument name =" lazy " >true </argument >
358+ <argument name =" retry_interval " >2 </argument >
359359 <argument name =" timeout" >10</argument >
360360 </argument >
361361 </service >
@@ -379,7 +379,7 @@ the pool.
379379 $container->getDefinition('app.my_custom_redis_provider', \Redis::class)
380380 ->addArgument('redis://localhost')
381381 ->addArgument([
382- 'lazy ' =>true ,
382+ 'retry_interval ' =>2 ,
383383 'timeout' => 10
384384 ]);
385385