ngmoco / cache-money

A Write-Through Cacheing Library for ActiveRecord
Apache License 2.0
161 stars 31 forks source link

key too long error #24

Open ismudnx opened 13 years ago

ismudnx commented 13 years ago

So far cache-money is working great, but it failed for queries with long parameters ('key too long' error). As i know memcached keeps a MAX_KEY limit to 250. Trying to hash the keys worked first but later knew is a disaster(it gave some 30+ failures while running rake).Is there any work around or fix to overcome this issue please.

ashleym1972 commented 13 years ago

There is no work around that I know of. I need to step through the code for an issue we have so I'll look into fixing this but I promise anything.

On Sep 2, 2011, at 4:34, ismudnx reply@reply.github.com wrote:

So far cache-money is working great, but it failed for queries with long parameters ('key too long' error). As i know memcached keeps a MAX_KEY limit to 250. Trying to hash the keys worked first but later knew is a disaster(it gave some 30+ failures while running rake).Is there any work around or fix to overcome this issue please.

Reply to this email directly or view it on GitHub: https://github.com/ngmoco/cache-money/issues/24