diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-03-26 21:30:43 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-03-26 21:30:43 +0400 |
commit | bbc501fbfd1f8ffe67b97cc684ca5c1152ccbfd1 (patch) | |
tree | 0a1b09266ce8b416ed896ca521f372dc67ad7771 /src/main.h | |
parent | 7e440d6f4392a302d6cd4e886fe6da42ae87fed2 (diff) | |
download | rspamd-bbc501fbfd1f8ffe67b97cc684ca5c1152ccbfd1.tar.gz rspamd-bbc501fbfd1f8ffe67b97cc684ca5c1152ccbfd1.zip |
* Improve statistics for scanned messages.
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main.h b/src/main.h index 63a94b462..2331dbdb5 100644 --- a/src/main.h +++ b/src/main.h @@ -76,10 +76,9 @@ struct worker_task; */ struct rspamd_stat { guint messages_scanned; /**< total number of messages scanned */ - guint messages_spam; /**< messages treated as spam */ - guint messages_ham; /**< messages treated as ham */ - guint connections_count; /**< total connections count */ - guint control_connections_count; /**< connections count to control interface */ + guint actions_stat[METRIC_ACTION_NOACTION + 1]; /**< statistic for each action */ + guint connections_count; /**< total connections count */ + guint control_connections_count; /**< connections count to control interface */ guint messages_learned; /**< messages learned */ guint fuzzy_hashes; /**< number of fuzzy hashes stored */ guint fuzzy_hashes_expired; /**< number of fuzzy hashes expired */ |