File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ Connects to a Redis instance or reuse a connection already established with `pco
9494
9595The connection will not be closed on ` close ` or end of request until the php process ends.
9696So be patient on to many open FD's (specially on redis server side) when using persistent
97- connections on many servers connection to one redis server.
97+ connections on many servers connecting to one redis server.
9898
9999Also more than one persistent connection can be made identified by either host + port + timeout
100100or unix socket + timeout.
@@ -115,7 +115,7 @@ persistent equivalents.
115115##### * Example*
116116
117117$redis->pconnect('127.0.0.1', 6379);
118- $redis->pconnect('127.0.0.1'); // port 6379 by default
118+ $redis->pconnect('127.0.0.1'); // port 6379 by default - same connection like before.
119119$redis->pconnect('127.0.0.1', 6379, 2.5); // 2.5 sec timeout and would be another connection then the two before.
120120$redis->pconnect('/tmp/redis.sock'); // unix domain socket - would be another connection then the three before.
121121
You can’t perform that action at this time.
0 commit comments