add support for setting maxmemory-policy

redis default is volatile-lru