aboutsummaryrefslogtreecommitdiffstats
path: root/src/hs_helper.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-29 18:06:25 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-29 18:06:25 +0000
commit49df9c2db6ec9b211cbcc651c98024a702f7d25b (patch)
tree97ef9d796079d5fbee6c0426e16a7161215da4c5 /src/hs_helper.c
parentd80d4e366703ed35b87c30e554781058b296095b (diff)
downloadrspamd-49df9c2db6ec9b211cbcc651c98024a702f7d25b.tar.gz
rspamd-49df9c2db6ec9b211cbcc651c98024a702f7d25b.zip
Add documentation for all workers' options
Diffstat (limited to 'src/hs_helper.c')
-rw-r--r--src/hs_helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hs_helper.c b/src/hs_helper.c
index 7ca14e672..d8ffd9e01 100644
--- a/src/hs_helper.c
+++ b/src/hs_helper.c
@@ -82,7 +82,7 @@ init_hs_helper (struct rspamd_config *cfg)
ctx,
G_STRUCT_OFFSET (struct hs_helper_ctx, hs_dir),
0,
- NULL);
+ "Directory where to save hyperscan compiled expressions");
rspamd_rcl_register_worker_option (cfg,
type,
"max_time",
@@ -90,7 +90,7 @@ init_hs_helper (struct rspamd_config *cfg)
ctx,
G_STRUCT_OFFSET (struct hs_helper_ctx, max_time),
RSPAMD_CL_FLAG_TIME_FLOAT,
- NULL);
+ "Maximum time to wait for compilation of a single expression");
return ctx;
}