diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-07-24 08:33:49 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-07-24 08:33:49 +0100 |
commit | e853ac873adbf4730f5c6593a410da310df35cac (patch) | |
tree | 84d8a6cdf1af332f96ffbbec1826953d16a3a729 /src/rspamd.h | |
parent | 6b71fcb72fce2945cca43cc2acc141b507655273 (diff) | |
download | rspamd-e853ac873adbf4730f5c6593a410da310df35cac.tar.gz rspamd-e853ac873adbf4730f5c6593a410da310df35cac.zip |
[Minor] Store parent pid inside workers
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 b2157bd3e..adc2576b4 100644 --- a/src/rspamd.h +++ b/src/rspamd.h @@ -57,6 +57,7 @@ */ struct rspamd_worker { pid_t pid; /**< pid of worker */ + pid_t ppid; /**< pid of parent */ guint index; /**< index number */ guint nconns; /**< current connections count */ gboolean wanna_die; /**< worker is terminating */ |