Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8a9a0c8 authored by David Anderson's avatar David Anderson
Browse files

init: Remove arbitrary delay in async persist writes.

Bug: 297093092
Test: manual test
Change-Id: Ia80b33d2fe87aa5da64b4f156fefeb474e68dc93
parent d32b562e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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));