updated ttl for memcached
Fix status code when restoring from memcached