true, -- is write
add_cb, --callback
'ZADD', -- command
- {set.prefix, tostring(rspamd_util.get_time()), new_ann_profile}
+ {set.prefix, tostring(rspamd_util.get_time()), profile_serialized}
)
return profile
true, -- is write
rank_cb, --callback
'ZADD', -- command
- {set.prefix, tostring(rspamd_util.get_time()), new_ann_profile}
+ {set.prefix, tostring(rspamd_util.get_time()), profile_serialized}
)
rspamd_logger.infox(rspamd_config, 'loaded ANN for %s from %s; %s bytes compressed; version=%s',
rule.prefix .. ':' .. set.name, ann_key, #ann_data, profile.version)