aboutsummaryrefslogtreecommitdiffstats
path: root/src/lmtp.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-03-28 21:00:38 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-03-28 21:00:38 +0400
commit37d6c7f23fd44283d1853141d39ecc3f3a2c54e6 (patch)
treecaa5cbe2aaca2fb09886d43aeb77dbe2c160c553 /src/lmtp.c
parent99225e6499d32f2415f64cd9d5d4402d3fb78b30 (diff)
downloadrspamd-37d6c7f23fd44283d1853141d39ecc3f3a2c54e6.tar.gz
rspamd-37d6c7f23fd44283d1853141d39ecc3f3a2c54e6.zip
* Add more timeouts: for fuzzy operations, for worker task operations
Handle miliseconds using a common macro.
Diffstat (limited to 'src/lmtp.c')
-rw-r--r--src/lmtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lmtp.c b/src/lmtp.c
index d080b7d95..d92656fad 100644
--- a/src/lmtp.c
+++ b/src/lmtp.c
@@ -303,7 +303,7 @@ start_lmtp_worker (struct rspamd_worker *worker)
hostbuf[hostmax - 1] = '\0';
rspamd_snprintf (greetingbuf, sizeof (greetingbuf), "%d rspamd version %s LMTP on %s Ready\r\n", LMTP_OK, RVERSION, hostbuf);
- io_tv.tv_sec = WORKER_IO_TIMEOUT;
+ io_tv.tv_sec = 60000;
io_tv.tv_usec = 0;
gperf_profiler_init (worker->srv->cfg, "lmtp");