Updated the README with the new parameters for Predis\Client. The old signature Predis\Client(, ) is now completely deprecated and it does not work anymore.

This commit is contained in:
Daniele Alessandri
2009-12-25 21:12:54 +01:00
parent 8eb51ec0d1
commit 4a4e4b5a72
+1 -1
View File
@@ -38,7 +38,7 @@ running on the localhost on the default port:
Pipelining helps with performances when there is the need to issue many commands
to a server in one go:
$redis = new Predis\Client('10.0.0.1', 6379);
$redis = new Predis\Client('redis://10.0.0.1:6379/');
$replies = $redis->pipeline(function($pipe) {
$pipe->ping();
$pipe->incrby('counter', 10);