Fix wrong initialization 11/289211/1
authorHwankyu Jhun <h.jhun@samsung.com>
Thu, 2 Mar 2023 23:34:02 +0000 (23:34 +0000)
committerHwankyu Jhun <h.jhun@samsung.com>
Thu, 2 Mar 2023 23:34:02 +0000 (23:34 +0000)
commitead07566d0cef544849d541733d7decd3a53be81
tree5cac1c4778a7b7e26cc8d83518fe662bc39dcdac
parent6cfdbba4a3a2dd835eda824a2c26dd9b8d546fcf
Fix wrong initialization

The memory monitor initialization should be called before adding default slots.
If the threshold is greater than 100, the memory monitor should be disabled.

Change-Id: I64ce56d5d73c3a61bccec425827567ad37c2c640
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/launchpad-process-pool/launchpad.cc