@@ -223,10 +223,10 @@ _**Description**_: Connects to a Redis instance.
223223
224224* host* : string. can be a host, or the path to a unix domain socket. Starting from version 5.0.0 it is possible to specify schema
225225* port* : int, optional
226- * timeout* : float, value in seconds (optional, default is 0 meaning unlimited)
226+ * timeout* : float, value in seconds (optional, default is 0 meaning it will use default_socket_timeout)
227227* reserved* : should be '' if retry_interval is specified
228228* retry_interval* : int, value in milliseconds (optional)
229- * read_timeout* : float, value in seconds (optional, default is 0 meaning unlimited )
229+ * read_timeout* : float, value in seconds (optional, default is 0 meaning it will use default_socket_timeout )
230230* others* : array, with PhpRedis >= 5.3.0, it allows setting _ auth_ and [ _ stream_ ] ( https://www.php.net/manual/en/context.ssl.php ) configuration.
231231
232232##### * Return value*
@@ -271,10 +271,10 @@ persistent equivalents.
271271
272272* host* : string. can be a host, or the path to a unix domain socket. Starting from version 5.0.0 it is possible to specify schema
273273* port* : int, optional
274- * timeout* : float, value in seconds (optional, default is 0 meaning unlimited)
274+ * timeout* : float, value in seconds (optional, default is 0 meaning it will use default_socket_timeout)
275275* persistent_id* : string. identity for the requested persistent connection
276276* retry_interval* : int, value in milliseconds (optional)
277- * read_timeout* : float, value in seconds (optional, default is 0 meaning unlimited )
277+ * read_timeout* : float, value in seconds (optional, default is 0 meaning it will use default_socket_timeout )
278278
279279##### * Return value*
280280
0 commit comments