sanders: 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.

Signed-off-by: Nick <nickgunale@gmail.com>
This commit is contained in:
zljing
2018-06-11 21:39:44 +05:30
committed by Jorge Lucas
parent aeddd290d8
commit ef86099c77

View File

@@ -286,3 +286,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
ro.usb.bpt_adb=0x2ee6 \
ro.usb.bpteth=0x2ee7 \
ro.usb.bpteth_adb=0x2ee8
# Boot
PRODUCT_PROPERTY_OVERRIDES += \
sys.vendor.shutdown.waittime=500