summaryrefslogtreecommitdiffstats
path: root/src/worker.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-05-05 16:57:11 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-05-05 16:57:11 +0400
commit860feef97ed04b130d247043e1945414aa280cea (patch)
tree1fc2d9c487cb73d3fc4bc00dadc9f77ac5e1d671 /src/worker.c
parentde70cad2b1c9410790920c500d0514bc2cc0e7e1 (diff)
downloadrspamd-860feef97ed04b130d247043e1945414aa280cea.tar.gz
rspamd-860feef97ed04b130d247043e1945414aa280cea.zip
* Enable counters interface
* Move modules configuration to init stage
Diffstat (limited to 'src/worker.c')
-rw-r--r--src/worker.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/worker.c b/src/worker.c
index e97454121..263d1eb93 100644
--- a/src/worker.c
+++ b/src/worker.c
@@ -309,7 +309,6 @@ void
start_worker (struct rspamd_worker *worker, int listen_sock)
{
struct sigaction signals;
- int i;
#ifdef WITH_PROFILER
extern void _start (void), etext (void);
@@ -356,11 +355,6 @@ start_worker (struct rspamd_worker *worker, int listen_sock)
event_set(&worker->bind_ev, listen_sock, EV_READ | EV_PERSIST, accept_socket, (void *)worker);
event_add(&worker->bind_ev, NULL);
- /* Perform modules configuring */
- for (i = 0; i < MODULES_NUM; i ++) {
- modules[i].module_config_func (worker->srv->cfg);
- }
-
/* Send SIGUSR2 to parent */
kill (getppid (), SIGUSR2);