Valentine Krasnobaeva 7b78e1571b MINOR: mworker: restore initial env before wait mode
This patch is the follow-up of 1811d2a6ba (MINOR: tools: add helpers to
backup/clean/restore env).

In order to avoid unexpected behaviour in master-worker mode during the process
reload with a new configuration, when the old one has contained '*env' keywords,
let's backup its initial environment before calling parse_cfg() and let's clean
and restore it in the context of master process, just before it enters in a wait
polling loop.

This will garantee that new workers will have a new updated environment and not
the previous one inherited from the master, which does not read the configuration,
when it's in a wait-mode.
2024-08-23 17:06:59 +02:00
..
2023-08-01 10:49:06 +02:00
2023-01-27 15:18:59 +01:00
2024-08-20 18:12:27 +02:00
2023-04-13 16:57:51 +02:00
2024-04-05 15:40:42 +02:00
2024-04-26 11:29:25 +02:00
2024-05-16 10:31:17 +02:00
2021-11-18 10:50:58 +01:00
2022-04-22 15:45:47 +02:00
2022-11-29 15:14:39 +01:00
2024-07-12 15:27:04 +02:00
2024-08-07 15:40:52 +02:00
2024-05-29 15:00:02 +02:00