Skip to content

Commit

Permalink
Merge "init: Remove arbitrary delay in async persist writes." into ma…
Browse files Browse the repository at this point in the history
…in am: 1258dab am: 4ba12af am: de52214 am: d5d4290 am: 234de3d

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

Change-Id: I0ee69d93d583b12f1876873bf35af94d6876e940
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
  • Loading branch information
Treehugger Robot authored and android-build-merge-worker-robot committed Oct 10, 2023
2 parents c5d5a5b + 234de3d commit 810b3f9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions init/property_service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1470,8 +1470,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));
Expand Down

0 comments on commit 810b3f9

Please sign in to comment.