aboutsummaryrefslogtreecommitdiffstats
path: root/src/hs_helper.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-09-14 15:08:50 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-09-14 15:08:50 +0100
commitbb78073cc83c2347204c9968d35bf1d038554a22 (patch)
treed1facf4f3e5b93eaf8cbd3e6e605106a5f74f161 /src/hs_helper.c
parentf1d0657f3922da9ae88eb4a3b84cce8fc3444ad9 (diff)
downloadrspamd-bb78073cc83c2347204c9968d35bf1d038554a22.tar.gz
rspamd-bb78073cc83c2347204c9968d35bf1d038554a22.zip
[Minor] Reduce hs load timeout (do we need it still?)
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 873dc7f88..5cef731f2 100644
--- a/src/hs_helper.c
+++ b/src/hs_helper.c
@@ -221,10 +221,10 @@ rspamd_rs_compile_cb (guint ncompiled, GError *err, void *cbd)
/*
* Do not send notification unless all other workers are started
- * XXX: now we just sleep for 5 seconds to ensure that
+ * XXX: now we just sleep for 1 seconds to ensure that
*/
if (!ctx->loaded) {
- when = 5.0; /* Postpone */
+ when = 1.0; /* Postpone */
ctx->loaded = TRUE;
msg_info ("compiled %d regular expressions to the hyperscan tree, "
"postpone loaded notification for %.0f seconds to avoid races",