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
9696
9797 // associative array of configuration options
9898 array(
99+ 'lazy' => false,
99100 'persistent' => 0,
100101 'persistent_id' => null,
101102 'timeout' => 30,
@@ -113,6 +114,10 @@ Available Options
113114 If none is specified, it will return ``\Redis `` if the ``redis `` extension is
114115 available, and ``\Predis\Client `` otherwise.
115116
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+
116121``persistent `` (type: ``int ``, default: ``0 ``)
117122 Enables or disables use of persistent connections. A value of ``0 `` disables persistent
118123 connections, and a value of ``1 `` enables them.
You can’t perform that action at this time.
0 commit comments