You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 'host' => can be a host, or the path to a unix domain socket
25
-
* 'port' => optional
26
-
* 'timeout' => value in seconds (optional, default is 0.0 meaning unlimited)
27
-
* 'reserved' => should be null if $retry_interval is specified
28
-
* 'retry_interval' => retry interval in milliseconds.
29
-
* 'vendor' => 'The library used internally to interact with Redis server
30
-
* 'redis' => 'Used only if vendor is custom, should contain an instance of \Enqueue\Redis\Redis interface.
31
-
* 'persisted' => bool, Whether it use single persisted connection or open a new one for every context
32
-
* 'lazy' => the connection will be performed as later as possible, if the option set to true
33
-
* 'database' => Database index to select when connected (default value: 0)
34
-
* user - The user name to use.
35
-
* pass - Password.
27
+
* 'dsn' => A redis DSN string.
28
+
* 'scheme' => Specifies the protocol used to communicate with an instance of Redis.
29
+
* 'host' => IP or hostname of the target server.
30
+
* 'port' => TCP/IP port of the target server.
31
+
* 'path' => Path of the UNIX domain socket file used when connecting to Redis using UNIX domain sockets.
32
+
* 'database' => Accepts a numeric value that is used by Predis to automatically select a logical database with the SELECT command.
33
+
* 'password' => Accepts a value used to authenticate with a Redis server protected by password with the AUTH command.
34
+
* 'async' => Specifies if connections to the server is estabilished in a non-blocking way (that is, the client is not blocked while the underlying resource performs the actual connection).
35
+
* 'persistent' => Specifies if the underlying connection resource should be left open when a script ends its lifecycle.
36
+
* 'lazy' => The connection will be performed as later as possible, if the option set to true
37
+
* 'timeout' => Timeout (expressed in seconds) used to connect to a Redis server after which an exception is thrown.
38
+
* 'read_write_timeout' => Timeout (expressed in seconds) used when performing read or write operations on the underlying network resource after which an exception is thrown.
39
+
* 'predis_options' => An array of predis specific options.
40
+
* 'ssl' => could be any of http://fi2.php.net/manual/en/context.ssl.php#refsect1-context.ssl-options
0 commit comments