From f36ef520c15b89b504ea8802d0f23b9aaf28ed91 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 19 Sep 2015 21:40:07 +0100 Subject: Allow only one controller process to manage rrd file. --- src/main.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/main.h') 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 */ -- cgit v1.2.3