1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2025-07-03 14:14:11 +00:00

Fix SCAN iteration.

This commit is contained in:
King_DuckZ 2016-06-13 10:57:42 +01:00
parent c1e79c435b
commit e0a82cce2d
7 changed files with 54 additions and 12 deletions

View file

@ -54,6 +54,8 @@ namespace YAML {
parSettings.port = parNode["port"].as<uint16_t>();
if (parNode["database"])
parSettings.database = parNode["database"].as<uint16_t>();
else
parSettings.database = 0;
return true;
}
};
@ -90,7 +92,7 @@ namespace dindb {
void BackendRedis::tag_files (const std::vector<std::string>& parRegexes, const std::vector<boost::string_ref>& parTags, GroupIDType parSet) {
for (const auto& file_path : m_redis.scan()) {
std::cout << file_path << '\n';
//std::cout << file_path << '\n';
}
}