Change delay for setting cpu_inheritance 51/284151/1
authorTomasz Swierczek <t.swierczek@samsung.com>
Thu, 10 Nov 2022 14:31:08 +0000 (15:31 +0100)
committerTomasz Swierczek <t.swierczek@samsung.com>
Thu, 10 Nov 2022 14:31:08 +0000 (15:31 +0100)
Change-Id: If46ba6429226c4fcd7a64179fb93d715c84f1635

src/client/include/client-request.h

index 2d61d2f..852c1d3 100644 (file)
@@ -90,7 +90,7 @@ public:
         m_sent = true;
 
         const auto tid = gettid();
-        if (resource_set_cpu_inheritance(tid, RESOURCE_CPU_DEST_NAME, -1) != 0)
+        if (resource_set_cpu_inheritance(tid, RESOURCE_CPU_DEST_NAME, 1000) != 0)
             LogError("resource_set_cpu_inheritance failed");
         m_status = sendToServer(SERVICE_SOCKET, m_buffer);
         if (resource_clear_cpu_inheritance(tid, RESOURCE_CPU_DEST_NAME) != 0)