Increase cpu boosting interval 98/301998/1
authorChanggyu Choi <changyu.choi@samsung.com>
Wed, 29 Nov 2023 07:36:17 +0000 (16:36 +0900)
committerChanggyu Choi <changyu.choi@samsung.com>
Wed, 29 Nov 2023 07:36:17 +0000 (16:36 +0900)
Some low-end devices have a problem of delaying app execution at boot time.
This patch improves this problem by increasing cpu boosting interval.

Change-Id: Ic4c22e5a23c45a8fa31b61f0d2a460a4cf8f6dbf
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
src/launchpad-process-pool/launchpad.cc

index 1562f15..3195c71 100644 (file)
@@ -214,7 +214,7 @@ Launchpad::Launchpad(int argc, char** argv)
         -1, true);
   }
 
-  g_timeout_add(1000, [](gpointer data) {
+  g_timeout_add(3000, [](gpointer data) {
         CPUBoostController::Clear(getpid());
         return G_SOURCE_REMOVE;
       }, this);