@@ -18,10 +18,10 @@ |
||
| 18 | 18 | { |
| 19 | 19 | protected $config; |
| 20 | 20 | private $_defaultConfig = [ |
| 21 | - 'host' => null, //can be a host, or the path to a unix domain socket |
|
| 21 | + 'host' => null, //can be a host, or the path to a unix domain socket |
|
| 22 | 22 | 'port' => 6379, |
| 23 | - 'timeout' => 0.0, //value in seconds (optional, default is 0 meaning unlimited) |
|
| 24 | - 'reserved' => null, //should be NULL if retry_interval is specified |
|
| 23 | + 'timeout' => 0.0, //value in seconds (optional, default is 0 meaning unlimited) |
|
| 24 | + 'reserved' => null, //should be NULL if retry_interval is specified |
|
| 25 | 25 | 'persistent_id' => '', //identity for the requested persistent connection |
| 26 | 26 | 'password' => null, |
| 27 | 27 | 'serializer' => \Redis::SERIALIZER_NONE, |
@@ -21,8 +21,8 @@ |
||
| 21 | 21 | // 'connect' paramater |
| 22 | 22 | 'host' => '127.0.0.1', //can be a host, or the path to a unix domain socket |
| 23 | 23 | 'port' => 6379, |
| 24 | - 'timeout' => 1.0, //value in seconds (optional, default is 0 meaning unlimited) |
|
| 25 | - 'reserved' => null, //should be NULL if retry_interval is specified |
|
| 24 | + 'timeout' => 1.0, //value in seconds (optional, default is 0 meaning unlimited) |
|
| 25 | + 'reserved' => null, //should be NULL if retry_interval is specified |
|
| 26 | 26 | 'read_timeout' => 1.0, //value in seconds (optional, default is 0 meaning unlimited) |
| 27 | 27 | |
| 28 | 28 | // 'pconnect' paramater |