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/fuzzy_storage.c | |
parent | 007c2befbe517ac6d44830a7900c3ac3fdf6d634 (diff) | |
download | rspamd-c442adeaa297aa760fe7c4fba63c1324056fcc79.tar.gz rspamd-c442adeaa297aa760fe7c4fba63c1324056fcc79.zip |
[Feature] Rework system of workers' flags
Diffstat (limited to 'src/fuzzy_storage.c')
-rw-r--r-- | src/fuzzy_storage.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c index 9ca032e22..b37d6766c 100644 --- a/src/fuzzy_storage.c +++ b/src/fuzzy_storage.c @@ -49,15 +49,12 @@ gpointer init_fuzzy (struct rspamd_config *cfg); void start_fuzzy (struct rspamd_worker *worker); worker_t fuzzy_worker = { - "fuzzy", /* Name */ - init_fuzzy, /* Init function */ - start_fuzzy, /* Start function */ - TRUE, /* No socket */ - FALSE, /* Unique */ - FALSE, /* Threaded */ - FALSE, /* Non killable */ - SOCK_DGRAM, /* UDP socket */ - RSPAMD_WORKER_VER /* Version info */ + "fuzzy", /* Name */ + init_fuzzy, /* Init function */ + start_fuzzy, /* Start function */ + RSPAMD_WORKER_HAS_SOCKET, + SOCK_DGRAM, /* UDP socket */ + RSPAMD_WORKER_VER /* Version info */ }; /* For evtimer */ |