Skip to content

Commit 0eb1c21

Browse files
committed
Update README.markdown
1 parent 2004b3e commit 0eb1c21

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.markdown

+8-8
Original file line numberDiff line numberDiff line change
@@ -175,14 +175,14 @@ $redis = new Redis([
175175

176176
##### *Parameters*
177177

178-
*host*: string. can be a host, or the path to a unix domain socket.
179-
*port*: int
180-
*connectTimeout*: float, value in seconds (default is 0 meaning unlimited)
181-
*retryInterval*: int, value in milliseconds (optional)
182-
*readTimeout*: float, value in seconds (default is 0 meaning unlimited)
183-
*persistent*: mixed, if value is string then it used as persistend id, else value casts to boolean
184-
*auth*: mixed, authentication information
185-
*ssl*: array, SSL context options
178+
*host*: string. can be a host, or the path to a unix domain socket.
179+
*port*: int (default is 6379, should be -1 for unix domain socket)
180+
*connectTimeout*: float, value in seconds (default is 0 meaning unlimited)
181+
*retryInterval*: int, value in milliseconds (optional)
182+
*readTimeout*: float, value in seconds (default is 0 meaning unlimited)
183+
*persistent*: mixed, if value is string then it used as persistend id, else value casts to boolean
184+
*auth*: mixed, authentication information
185+
*ssl*: array, SSL context options
186186

187187
### Class RedisException
188188
-----

0 commit comments

Comments
 (0)