task:insert_result(settings.symbol, 1.0, string.format("%s:%s", key_ty, key))
else
if settings.symbol_unknown then
- task:insert_result(settings.symbol, 1.0, string.format("%s:%s", key_ty, key))
+ task:insert_result(settings.symbol_unknown, 1.0, string.format("%s:%s", key_ty, key))
end
lua_util.debugm(N, task, 'insert key %s, type: %s', key, key_ty)
-- Insert key to zset and trim it's cardinality
task:insert_result(settings.symbol, 1.0, string.format("%s:%s", key_ty, key))
else
if settings.symbol_unknown then
- task:insert_result(settings.symbol, 1.0, string.format("%s:%s", key_ty, key))
+ task:insert_result(settings.symbol_unknown, 1.0, string.format("%s:%s", key_ty, key))
end
lua_util.debugm(N, task, 'insert key %s, type: %s', key, key_ty)
-- Reserve bloom filter space