Set nice value -10 when making cache 96/277696/3
authorIlho Kim <ilho159.kim@samsung.com>
Tue, 12 Jul 2022 07:21:34 +0000 (16:21 +0900)
committerIlho Kim <ilho159.kim@samsung.com>
Tue, 12 Jul 2022 08:35:50 +0000 (17:35 +0900)
commit3c2ee45d72323c82d93cea08fe5127c91f3cbe48
tree244929c2552f9b3487fbec07289ccdbb4c1410ad
parentc70f9b85f6729c54f272ee11ed208883e378bedb
Set nice value -10 when making cache

When creating cache the scheduling policy is changed to RR
which is the real time scheduling policy
as a result, the pkginfo-server can occupy the cpu for a long time
with some real time scheduling policy process
this patch modified to increase the priority by changing only the nice value
instead of changing the scheduling policy

Change-Id: If5c6509cddaa1bf3fa2cd2c47f94057aa8c35168
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
src/server/request_handler/create_cache_request_handler.cc
src/server/request_handler/create_cache_request_handler.hh