ansible/ansible — pull request #8856 by sivel (2014-09-02 18:24:20+00:00)
Title: Memcached factcache improvements

This pull request addresses 2 things:

1. `.format()` fields should have index references for python2.6 compatibility
1. Add `min_compress_len=1` to `set()` to avoid an issue where the data being inserted exceeds the configured memcached data size limit. The default value for memcached is 1MB. If the size of the string or pickled data is larger than the size limit, the python-memcached module will silently discard it. Specifying `min_compress_len=1` will cause the python-memcached module to always compress the data. I prefer always compressing over sometimes compressing so that the data in memcached is more standardized.