Change default launch mode 45/319345/1
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 21 Oct 2024 23:23:18 +0000 (08:23 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Mon, 21 Oct 2024 23:49:44 +0000 (08:49 +0900)
The launch mode is changed to the previous operation.
Currently, some device was very slow. There is a problem about CPU scheduling.
If a launch request is delivered to the loader process while the loader is
initializing, the loader will be blocked by the CPU scheduling in some devices.
It causes the crash issue of the application.

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

index 5b5ef43321efaef18365c9e6d175627cfc1dcf6b..d2e925263bb1546750fe5e98674d7b22a5c5c257 100644 (file)
@@ -106,7 +106,7 @@ class Config {
     const Mode GetMode() const;
 
    private:
-    Mode mode_ = Mode::DefaultOperation;
+    Mode mode_ = Mode::PreviousOperation;
   };
 
   Config(const Config&) = delete;