From d8a9a0c81c6d9da9d1a5118d19adbc1f9bd8522a Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 6 Oct 2023 14:52:08 -0700 Subject: [PATCH] init: Remove arbitrary delay in async persist writes. Bug: 297093092 Test: manual test Change-Id: Ia80b33d2fe87aa5da64b4f156fefeb474e68dc93 --- init/property_service.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/init/property_service.cpp b/init/property_service.cpp index 2064fae8f14c..cdd0afe8b70a 100644 --- a/init/property_service.cpp +++ b/init/property_service.cpp @@ -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));