mperham/dalli — pull request #283 by brianmario (2012-11-11 09:34:28+00:00)
Title: Return false instead of raising when value is too large

Since Dalli is potentially compressing the value after we've passed it in, it's impossible to know ahead of time if a value will be too large once compressed. Instead of raising an exception we return false to signal that the value wasn't stored.

I'm not in love with the method name checking the value size, but other than that I think I covered all of the cases where this was raising before.