aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-12 11:49:50 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-12 11:49:50 +0100
commit783f85f3df791a3f948acd9554094d7b352a8d9b (patch)
tree901b35e54eb6096f281fb3f7c1f54f4eb595a9a6 /src/rspamd.h
parent3b91533451ae4aa258594f604803d383a92eda3d (diff)
downloadrspamd-783f85f3df791a3f948acd9554094d7b352a8d9b.tar.gz
rspamd-783f85f3df791a3f948acd9554094d7b352a8d9b.zip
Handle stats command.
Diffstat (limited to 'src/rspamd.h')
-rw-r--r--src/rspamd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rspamd.h b/src/rspamd.h
index 88e805947..970046eb5 100644
--- a/src/rspamd.h
+++ b/src/rspamd.h
@@ -45,6 +45,8 @@
struct rspamd_worker {
pid_t pid; /**< pid of worker */
guint index; /**< index number */
+ guint nconns; /**< current connections count */
+ gdouble start_time; /**< start time */
struct rspamd_main *srv; /**< pointer to server structure */
GQuark type; /**< process type */
GHashTable *signal_events; /**< signal events */