diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-25 11:38:56 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-25 11:38:56 +0100 |
commit | 6dd5ad342c865f057573e1510df113650bcfe570 (patch) | |
tree | 6ca025cec5da5b6a755d8f2584000c228d8f8a69 /src/rspamd.h | |
parent | 74532cb312603671c51008d20e1f66eeee8ecc0d (diff) | |
download | rspamd-6dd5ad342c865f057573e1510df113650bcfe570.tar.gz rspamd-6dd5ad342c865f057573e1510df113650bcfe570.zip |
[Minor] Avoid global wanna_die flag
Diffstat (limited to 'src/rspamd.h')
-rw-r--r-- | src/rspamd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rspamd.h b/src/rspamd.h index 999061a99..e99e4c18d 100644 --- a/src/rspamd.h +++ b/src/rspamd.h @@ -49,6 +49,7 @@ struct rspamd_worker { pid_t pid; /**< pid of worker */ guint index; /**< index number */ guint nconns; /**< current connections count */ + gboolean wanna_die; /**< worker is terminating */ gdouble start_time; /**< start time */ struct rspamd_main *srv; /**< pointer to server structure */ GQuark type; /**< process type */ |