summaryrefslogtreecommitdiffstats
path: root/src/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.h b/src/main.h
index ee34a2cae..ef9a29537 100644
--- a/src/main.h
+++ b/src/main.h
@@ -56,8 +56,9 @@ enum process_type {
*/
struct rspamd_worker {
pid_t pid; /**< pid of worker */
- char is_initialized; /**< is initialized */
- char is_dying; /**< if worker is going to shutdown */
+ gboolean is_initialized; /**< is initialized */
+ gboolean is_dying; /**< if worker is going to shutdown */
+ gboolean pending; /**< if worker is pending to run */
struct rspamd_main *srv; /**< pointer to server structure */
enum process_type type; /**< process type */
struct event sig_ev; /**< signals event */