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

Commit

Permalink
Merge "init: Remove arbitrary delay in async persist writes." into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Treehugger Robot authored and Gerrit Code Review committed Oct 10, 2023
2 parents a7dd776 + d8a9a0c commit 1258dab
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 1258dab

Please sign in to comment.