diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-11-30 17:48:08 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-11-30 17:48:08 +0300 |
commit | 632e13627f8ad4ebf632a8b616c62dc6622d375e (patch) | |
tree | 91654d26d1e76d8c677b0dec7be8059c0c1f86ef /src/main.c | |
parent | 2975827e40a8e7c6e820c42921fb8792cf637450 (diff) | |
download | rspamd-632e13627f8ad4ebf632a8b616c62dc6622d375e.tar.gz rspamd-632e13627f8ad4ebf632a8b616c62dc6622d375e.zip |
Check for SIGUSR1 by libevent to avoid signals collisions.
Remove greylist_storage as it was never used and is actually replaced with basic kvstorage.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/main.c b/src/main.c index da6d76e48..f91bf9b34 100644 --- a/src/main.c +++ b/src/main.c @@ -374,12 +374,6 @@ fork_worker (struct rspamd_main *rspamd, struct worker_conf *cf) msg_info ("starting fuzzy storage process %P", getpid ()); start_fuzzy_storage (cur); break; - case TYPE_GREYLIST: - setproctitle ("greylist storage"); - rspamd_pidfile_close (rspamd->pfh); - msg_info ("starting greylist storage process %P", getpid ()); - start_greylist_storage (cur); - break; case TYPE_KVSTORAGE: setproctitle ("kv storage"); rspamd_pidfile_close (rspamd->pfh); @@ -573,7 +567,7 @@ spawn_workers (struct rspamd_main *rspamd) cf->listen_sock = listen_sock; } - if (cf->type == TYPE_FUZZY || cf->type == TYPE_GREYLIST) { + if (cf->type == TYPE_FUZZY) { if (cf->count > 1) { msg_err ("cannot spawn more than 1 fuzzy storage worker, so spawn one"); } |