Skip to content

Throttling cache keys are too long. #6

funkaoshi opened this Issue Jan 11, 2012 · 1 comment

1 participant

SD Elements member

The keys you can supply to memcache have a maximum length of 255 characters. This makes them too short to store a username and IP address. (The username can be 255 characters itself.) I'm not sure what the best way to get around this is. We could store a (truncated) hash of the username, perhaps?

SD Elements member

This was resolved by storing hashed keys.

@funkaoshi funkaoshi closed this Jun 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.