test: Increases the cache size of the urldecode transformation

This commit is contained in:
Felipe Zimmerle 2015-11-05 14:18:24 -03:00
parent bb30d42b57
commit c204f1f003

View File

@ -38,7 +38,7 @@ class UrlDecodeInstantCache : public std::unordered_map<std::string, std::string
void cache(const std::string& value, const std::string& out) {
emplace(value, out);
if (size() > 100) {
if (size() > 500) {
erase(begin());
}
}