Commit 970de1dd authored by Arnout Kazemier's avatar Arnout Kazemier

[fix] Corrected the maxkeysize #153

parent 97a6946a
......@@ -66,7 +66,7 @@ function Client (args, options) {
// Allows users to configure the memcached globally or per memcached client
Client.config = {
maxKeySize: 251 // max key size allowed by Memcached
maxKeySize: 250 // max key size allowed by Memcached
, maxExpiration: 2592000 // max expiration duration allowed by Memcached
, maxValue: 1048576 // max length of value allowed by Memcached
, activeQueries: 0
......
......@@ -137,4 +137,4 @@ exports.escapeValue = function(value) {
//Unescapes escaped values by removing backslashes before line breaks
exports.unescapeValue = function(value) {
return value.replace(/\\(\r|\n)/g, '$1');
};
\ No newline at end of file
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment