Honor memcached key size constraints

Review Request #980 — Created Aug. 20, 2009 and submitted — Latest diff uploaded

Information

Navi (deprecated)

Reviewers

RB will happily try to enter keys into memcached that exceed memcached's key size constraint (250 bytes). This patch should correct this.
Supersedes http://reviews.review-board.org/r/975/, which applied the fix in RB code rather than a central place in the djblets code base.
Runs flawlessly on a local RB installation.