File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
components/cache/adapters Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ array of ``key => value`` pairs representing option names and their respective v
96
96
97
97
// associative array of configuration options
98
98
array(
99
+ 'lazy' => false,
99
100
'persistent' => 0,
100
101
'persistent_id' => null,
101
102
'timeout' => 30,
@@ -113,6 +114,10 @@ Available Options
113
114
If none is specified, it will return ``\Redis `` if the ``redis `` extension is
114
115
available, and ``\Predis\Client `` otherwise.
115
116
117
+ ``lazy `` (type: ``bool ``, default: ``false ``)
118
+ Enables or disables lazy connections to the backend. Already set to ``true `` by default
119
+ when configuring Redis pools via FrameworkBundle.
120
+
116
121
``persistent `` (type: ``int ``, default: ``0 ``)
117
122
Enables or disables use of persistent connections. A value of ``0 `` disables persistent
118
123
connections, and a value of ``1 `` enables them.
You can’t perform that action at this time.
0 commit comments