Closed rmartz closed 7 years ago
This is the pylibmc error for attempting to set too large of a value into the cache.
Currently our cache value size limit is set to 8mb: https://github.com/azavea/climate-change-api/blob/develop/docker-compose.yml#L37
I thought this setting was also set via a setting in the elasticache memcached parameter group, but I don't see it there ATM. It looks like that got lost in the refactor here: https://github.com/azavea/climate-change-api/pull/264/files#diff-66d1d41d2fb4d0845b5a67e53f5cca21L59
So a first pass attempt at this issue would be to re-add that config parameter, setting it to 8mb.
When attempting to access some resources on the API, the server will respond with a 500 error. This appears to be because of an exception thrown by Memcache, but the error claims it succeeded: