Merge "init: Remove arbitrary delay in async persist writes." into main am: 1258dabac7 am: 4ba12afcd5 am: de52214f54 am: d5d429062b

Original change: https://android-review.googlesource.com/c/platform/system/core/+/2777581

Change-Id: I6e1c1153bb2b09917ceeaf1c3a0a6ae06b11be7b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2023-10-10 03:55:03 +00:00 committed by Automerger Merge Worker
commit 234de3df8d

View file

@ -1461,8 +1461,6 @@ void PersistWriteThread::Work() {
work_.pop_front();
}
std::this_thread::sleep_for(1s);
// Perform write/fsync outside the lock.
WritePersistentProperty(std::get<0>(item), std::get<1>(item));
NotifyPropertyChange(std::get<0>(item), std::get<1>(item));