init: Remove arbitrary delay in async persist writes.

Bug: 297093092
Test: manual test
Change-Id: Ia80b33d2fe87aa5da64b4f156fefeb474e68dc93
This commit is contained in:
David Anderson 2023-10-06 14:52:08 -07:00
parent d32b562ee9
commit d8a9a0c81c

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