aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-16 12:45:27 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-16 14:17:23 +0100
commit87f4dd3154e84586ca0541481c45b8d9edd1e865 (patch)
tree37bf4f4d7b1211e3b5be55a1aaabc5fb73875ef4 /src/libserver
parentd3c4960c71829c2c6694297a92e688a1ae5e16e4 (diff)
downloadrspamd-87f4dd3154e84586ca0541481c45b8d9edd1e865.tar.gz
rspamd-87f4dd3154e84586ca0541481c45b8d9edd1e865.zip
[Minor] Improve crash logging
Diffstat (limited to 'src/libserver')
-rw-r--r--src/libserver/worker_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/worker_util.c b/src/libserver/worker_util.c
index cdd98ded5..a0e511929 100644
--- a/src/libserver/worker_util.c
+++ b/src/libserver/worker_util.c
@@ -601,6 +601,7 @@ rspamd_fork_worker (struct rspamd_main *rspamd_main,
wrk->finish_actions = g_ptr_array_new ();
wrk->ppid = getpid ();
wrk->pid = fork ();
+ wrk->cores_throttled = rspamd_main->cores_throttling;
switch (wrk->pid) {
case 0: