diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-03-25 19:13:20 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-03-25 19:13:20 +0300 |
commit | 99225e6499d32f2415f64cd9d5d4402d3fb78b30 (patch) | |
tree | d682bb084091326bb937fb10350af304cadec5b9 /src/main.h | |
parent | 417360dabf785feda65ceb18b05a743402117cdf (diff) | |
download | rspamd-99225e6499d32f2415f64cd9d5d4402d3fb78b30.tar.gz rspamd-99225e6499d32f2415f64cd9d5d4402d3fb78b30.zip |
Write to log number of dns requests per task.
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h index e6cf67078..02bebf89a 100644 --- a/src/main.h +++ b/src/main.h @@ -229,6 +229,8 @@ struct worker_task { gboolean (*fin_callback)(void *arg); /**< calback for filters finalizing */ void *fin_arg; /**< argument for fin callback */ + guint32 dns_requests; /**< number of DNS requests per this task */ + struct rspamd_dns_resolver *resolver; /**< DNS resolver */ }; |