end
local ret = globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
true, -- is write
redis_report_script_cb, --callback
if cursor ~= 0 then
local ret = globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
false, -- is write
dmarc_push_cb, --callback
end
local ret = globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
false, -- is write
dmarc_push_cb, --callback
end
local ret = globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
false, -- is write
delete_reports_cb, --callback
local idx_key = table.concat({redis_keys.index_prefix, want_period}, redis_keys.join_char)
local ret = globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
false, -- is write
get_reporting_domain_cb, --callback
end
globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
true, -- is write
can_train_sha_cb, --callback
end
globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
true, -- is write
maybe_load_sha_cb, --callback
end
globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
true, -- is write
maybe_invalidate_sha_cb, --callback
end
globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
true, -- is write
locked_invalidate_sha_cb, --callback
end
globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
true, -- is write
maybe_lock_sha_cb, --callback
end
globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
true, -- is write
save_unlock_sha_cb, --callback
rspamd_logger.infox(rspamd_config, 'invalidate ANN %s', prefix)
globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
true, -- is write
redis_invalidate_cb, --callback
globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
true, -- is write
learn_vec_cb, --callback
globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
true, -- is write
can_train_cb, --callback
prefix, err)
globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
false, -- is write
redis_unlock_cb, --callback
prefix, errmsg)
globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
true, -- is write
redis_unlock_cb, --callback
fanns[elt].fann_train = nil
globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
true, -- is write
redis_save_cb, --callback
prefix, err)
globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
true, -- is write
redis_unlock_cb, --callback
rspamd_logger.infox(rspamd_config, 'invalidate ANN %s: training data is invalid', prefix)
globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
true, -- is write
redis_invalidate_cb, --callback
prefix, err)
globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
true, -- is write
redis_unlock_cb, --callback
end, data))
globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
false, -- is write
redis_ham_cb, --callback
-- Can train ANN
globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
false, -- is write
redis_spam_cb, --callback
if learning_spawned then
globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
true, -- is write
redis_lock_extend_cb, --callback
end
globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
true, -- is write
redis_lock_cb, --callback
globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
false, -- is write
redis_len_cb, --callback
-- First we need to get all fanns stored in our Redis
globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
false, -- is write
members_cb, --callback
end
globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
false, -- is write
redis_update_cb, --callback
-- First we need to get all fanns stored in our Redis
globals.redis_make_request_taskless(ev_base,
rspamd_config,
+ redis_params,
nil,
false, -- is write
members_cb, --callback