Merge "init: Remove arbitrary delay in async persist writes." into main

This commit is contained in:
Treehugger Robot 2023-10-10 00:32:04 +00:00 committed by Gerrit Code Review
commit 1258dabac7

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));