X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fconstants.h;h=b12a3890ff62a6cafcf7e4a57d158ef1863d0084;hb=671ca37a89bd48331316cb98c3f54ce1bca7ef88;hp=4a7b0cdb8f6dd655a7b49d6bfe4a423463496853;hpb=26c65ac524f21cd73a79f3caf45cdb76c9a41bc0;p=m6w6%2Flibmemcached diff --git a/libmemcached/constants.h b/libmemcached/constants.h index 4a7b0cdb..b12a3890 100644 --- a/libmemcached/constants.h +++ b/libmemcached/constants.h @@ -21,7 +21,8 @@ #define MEMCACHED_POINTS_PER_SERVER_KETAMA 160 #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_TIMEOUT 5000 +#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