Fix for bad name servers.
[m6w6/libmemcached] / libmemcached / constants.h
index 4a7b0cdb8f6dd655a7b49d6bfe4a423463496853..d6798d0d4562f96de0c0ec672a5949c1cc75e008 100644 (file)
@@ -22,6 +22,7 @@
 #define MEMCACHED_CONTINUUM_SIZE MEMCACHED_POINTS_PER_SERVER*100 /* This would then set max hosts to 100 */
 #define MEMCACHED_STRIDE 4
 #define MEMCACHED_DEFAULT_TIMEOUT 1000
+#define MEMCACHED_DEFAULT_CONNECT_TIMEOUT 4000
 #define MEMCACHED_CONTINUUM_ADDITION 10 /* How many extra slots we should build for in the continuum */
 #define MEMCACHED_PREFIX_KEY_MAX_SIZE 128
 #define MEMCACHED_EXPIRATION_NOT_ADD 0xffffffffU