diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-04 14:32:18 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-04 14:32:18 +0100 |
commit | c442adeaa297aa760fe7c4fba63c1324056fcc79 (patch) | |
tree | f401b93691418a89d791e4174d2d41d1d8a1185b /src/hs_helper.c | |
parent | 007c2befbe517ac6d44830a7900c3ac3fdf6d634 (diff) | |
download | rspamd-c442adeaa297aa760fe7c4fba63c1324056fcc79.tar.gz rspamd-c442adeaa297aa760fe7c4fba63c1324056fcc79.zip |
[Feature] Rework system of workers' flags
Diffstat (limited to 'src/hs_helper.c')
-rw-r--r-- | src/hs_helper.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/hs_helper.c b/src/hs_helper.c index 5f955561d..5885461aa 100644 --- a/src/hs_helper.c +++ b/src/hs_helper.c @@ -32,10 +32,7 @@ worker_t hs_helper_worker = { "hs_helper", /* Name */ init_hs_helper, /* Init function */ start_hs_helper, /* Start function */ - FALSE, /* No socket */ - TRUE, /* Unique */ - FALSE, /* Non threaded */ - TRUE, /* Killable */ + RSPAMD_WORKER_UNIQUE|RSPAMD_WORKER_KILLABLE|RSPAMD_WORKER_ALWAYS_START, SOCK_STREAM, /* TCP socket */ RSPAMD_WORKER_VER /* Version info */ }; |