ttl for successful and failed responses