MAX_KEY_LEN

Constant MAX_KEY_LEN 

Source
pub const MAX_KEY_LEN: u16 = 250;
Expand description

Maximum allowed key length. The memcached binary protocol uses a u16 for key_len (max 65535), but the traditional memcached limit is 250 bytes. We enforce the 250-byte limit for compatibility.