From: antirez <antirez@gmail.com>
Date: Mon, 11 May 2009 11:50:09 +0000 (+0200)
Subject: Python client updated pushing from Ludo's repository
X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/7407797596cdc7ff4df1588cb0bacd2d3d5c67ac?ds=inline

Python client updated pushing from Ludo's repository
---

diff --git a/Changelog b/Changelog
index 5a642a03..3a8c398e 100644
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,8 @@
+2009-05-11 disconnect when we cannot read from the socket
+2009-05-11 benchmark utility now supports random keys
+2009-05-10 minor doc changes
+2009-05-09 added tests for vararg DEL
+2009-05-09 DEL is now a vararg, IMPORTANT: memory leak fixed in loading DB code
 2009-05-09 doc changes
 2009-05-09 CPP client added thanks to Brian Hammond
 2009-05-06 Infinite number of arguments for MGET and all the other commands
diff --git a/TODO b/TODO
index 0c48289e..94dc38cf 100644
--- a/TODO
+++ b/TODO
@@ -1,5 +1,7 @@
 BEFORE REDIS 1.0.0-rc1
 
+ * Warning if using default config, with hint about 'redis-server redis.conf'
+ * Log timestamp
  * SDIFF, SDIFFSTORE
  * Add number of keys for every DB in INFO
  * maxmemory support
diff --git a/anet.c b/anet.c
index 893f42c8..6406bccf 100644
--- a/anet.c
+++ b/anet.c
@@ -237,7 +237,7 @@ int anetTcpServer(char *err, int port, char *bindaddr)
         close(s);
         return ANET_ERR;
     }
-    if (listen(s, 32) == -1) {
+    if (listen(s, 64) == -1) {
         anetSetError(err, "listen: %s\n", strerror(errno));
         close(s);
         return ANET_ERR;
diff --git a/benchmark.c b/benchmark.c
index 38e85410..b550196c 100644
--- a/benchmark.c
+++ b/benchmark.c
@@ -137,6 +137,7 @@ static void resetClient(client c) {
     c->written = 0;
     c->state = CLIENT_SENDQUERY;
     c->start = mstime();
+    createMissingClients(c);
 }
 
 static void randomizeClientKey(client c) {