aboutsummaryrefslogtreecommitdiffstats
path: root/src/hs_helper.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-04 13:52:06 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-04 13:52:06 +0100
commita5bd71440e01ecd3fb6cc8bf3fcdae1fcfe11f21 (patch)
tree3f52cb94e8daf638e1f8ed412cff85c2cdbda5ca /src/hs_helper.c
parent4bd75d888a4110b3cfa89c8fb33610e6ad95d899 (diff)
downloadrspamd-a5bd71440e01ecd3fb6cc8bf3fcdae1fcfe11f21.tar.gz
rspamd-a5bd71440e01ecd3fb6cc8bf3fcdae1fcfe11f21.zip
[Feature] Allow to send descriptors from workers to main
Diffstat (limited to 'src/hs_helper.c')
-rw-r--r--src/hs_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hs_helper.c b/src/hs_helper.c
index e0c56f4d2..5f955561d 100644
--- a/src/hs_helper.c
+++ b/src/hs_helper.c
@@ -195,7 +195,7 @@ rspamd_rs_compile (struct hs_helper_ctx *ctx, struct rspamd_worker *worker,
srv_cmd.cmd.hs_loaded.cache_dir = ctx->hs_dir;
srv_cmd.cmd.hs_loaded.forced = forced;
- rspamd_srv_send_command (worker, ctx->ev_base, &srv_cmd, NULL, NULL);
+ rspamd_srv_send_command (worker, ctx->ev_base, &srv_cmd, -1, NULL, NULL);
return TRUE;
}