aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-16 15:24:39 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-16 15:24:39 +0000
commite383fd8e4795ea6a24d28cd92be4bac79a91110d (patch)
tree9cd7a5f862f7370d95d4945ff175a3e2485c7df2 /src/rspamd.h
parentd414e0aad91f1999b19b7ea00b2aaf24f8ecc4c6 (diff)
downloadrspamd-e383fd8e4795ea6a24d28cd92be4bac79a91110d.tar.gz
rspamd-e383fd8e4795ea6a24d28cd92be4bac79a91110d.zip
Remove fuzzy stat from generic server stat
Diffstat (limited to 'src/rspamd.h')
-rw-r--r--src/rspamd.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/rspamd.h b/src/rspamd.h
index 0095cc093..a2a442a1f 100644
--- a/src/rspamd.h
+++ b/src/rspamd.h
@@ -129,17 +129,6 @@ struct rspamd_dns_resolver;
struct rspamd_task;
/**
- * The epoch of the fuzzy client
- */
-enum rspamd_fuzzy_epoch {
- RSPAMD_FUZZY_EPOCH6 = 0, /**< pre 0.6.x */
- RSPAMD_FUZZY_EPOCH8, /**< 0.8 till 0.9 */
- RSPAMD_FUZZY_EPOCH9, /**< 0.9 + */
- RSPAMD_FUZZY_EPOCH10, /**< 1.0 + encryption */
- RSPAMD_FUZZY_EPOCH_MAX
-};
-
-/**
* Server statistics
*/
struct rspamd_stat {
@@ -148,10 +137,6 @@ struct rspamd_stat {
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 */
- guint64 fuzzy_hashes_checked[RSPAMD_FUZZY_EPOCH_MAX]; /**< ammount of check requests for each epoch */
- guint64 fuzzy_hashes_found[RSPAMD_FUZZY_EPOCH_MAX]; /**< amount of hashes found by epoch */
};
/**