diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-09-19 21:40:07 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-09-21 11:41:46 +0100 |
commit | f36ef520c15b89b504ea8802d0f23b9aaf28ed91 (patch) | |
tree | a09e0b401e3548d4300a5562fdd1b2c9d5730a29 /src/main.h | |
parent | 766bc1798d93051c55555511ad5b2bfc97ed2f40 (diff) | |
download | rspamd-f36ef520c15b89b504ea8802d0f23b9aaf28ed91.tar.gz rspamd-f36ef520c15b89b504ea8802d0f23b9aaf28ed91.zip |
Allow only one controller process to manage rrd file.
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.h b/src/main.h index 9b1f928b9..5104040a9 100644 --- a/src/main.h +++ b/src/main.h @@ -44,9 +44,7 @@ */ struct rspamd_worker { pid_t pid; /**< pid of worker */ - gboolean is_initialized; /**< is initialized */ - gboolean is_dying; /**< if worker is going to shutdown */ - gboolean pending; /**< if worker is pending to run */ + guint index; /**< index number */ struct rspamd_main *srv; /**< pointer to server structure */ GQuark type; /**< process type */ GHashTable *signal_events; /**< signal events */ |