Parcourir la source

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.

Daniele Alessandri il y a 15 ans
Parent
commit
4a4e4b5a72
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      README.markdown

+ 1 - 1
README.markdown

@@ -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);