Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
init: Remove arbitrary delay in async persist writes.
Browse files Browse the repository at this point in the history
Bug: 297093092
Test: manual test
Change-Id: Ia80b33d2fe87aa5da64b4f156fefeb474e68dc93
  • Loading branch information
dvandercorp committed Oct 6, 2023
1 parent d32b562 commit d8a9a0c
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 @@ -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));
Expand Down

0 comments on commit d8a9a0c

Please sign in to comment.