sanders: boot: shorten wait time to optimize shutdown time

Mountservice will check if there exist processes occupy files. Launch
many 3rd apps and set in background will cause many processes occupy
files, which will cause mountservice spend 10~20s to unmount(sometimes
 also unmount fail with 20s time out). If there is no process occupy
files, mountservice only need about 500ms. So shorten wait time from
20s to 500ms, which will save 10~20s for shutdown time, total shutdown
time is in 3s.

CRs-Fixed: 2038121

Change-Id: I4da7bbf4c86d05add7f1b1e328f70796f3bb8ee8
Signed-off-by: Dede Dindin Qudsy <xtrymind@gmail.com>
Signed-off-by: David Trpchevski <trpcevski.david@gmail.com>
Signed-off-by: Melvin <kartik3163@gmail.com>
This commit is contained in:
zljing
2019-07-10 02:54:06 +02:00
committed by ronaxdevil
parent da779c9773
commit c4d5fe2dd7

View File

@@ -420,3 +420,6 @@ PRODUCT_PROPERTY_OVERRIDES += \
drm.service.enabled=true \
media.stagefright.thumbnail.prefer_hw_codecs=true
# Boot
PRODUCT_PROPERTY_OVERRIDES += \
sys.vendor.shutdown.waittime=500