@@ -322,7 +322,7 @@ Custom Provider Options
322322
323323Some providers have specific options that could be configured. The
324324:doc: `RedisAdapter </components/cache/adapters/redis_adapter >` allows you to create
325- providers with option`` lazy ``, ``timeout `` etc. To use these options with non-default
325+ providers with option `` timeout ``, ``retry_interval `` etc. To use these options with non-default
326326values you need to create your own ``\Redis `` provider and use that when configuring
327327the pool.
328328
@@ -344,7 +344,7 @@ the pool.
344344factory :['Symfony\Component\Cache\Adapter\RedisAdapter', 'createConnection']
345345arguments :
346346 -' redis://localhost'
347- -[lazy : true , timeout: 10 ]
347+ -[retry_interval : 2 , timeout: 10 ]
348348
349349 ..code-block ::xml
350350
@@ -366,7 +366,7 @@ the pool.
366366 <service id =" app.my_custom_redis_provider" class =" \Redis" >
367367 <argument >redis://localhost</argument >
368368 <argument type =" collection" >
369- <argument name =" lazy " >true </argument >
369+ <argument name =" retry_interval " >2 </argument >
370370 <argument name =" timeout" >10</argument >
371371 </argument >
372372 </service >
@@ -390,7 +390,7 @@ the pool.
390390 $container->getDefinition('app.my_custom_redis_provider', \Redis::class)
391391 ->addArgument('redis://localhost')
392392 ->addArgument([
393- 'lazy ' =>true ,
393+ 'retry_interval ' =>2 ,
394394 'timeout' => 10
395395 ]);
396396