From 6e0b0fa671244a30e60d1d3f9de03051c2aa76b2 Mon Sep 17 00:00:00 2001 From: Alex Buynytskyy Date: Mon, 28 Jun 2021 11:40:18 -0700 Subject: [PATCH] Reduce timeout for DL to destroy. 10secs should be more than enough to stop whatever the DL is doing. Besides, DL has its own set of IncFS FDs and should not crash. Bug: 189222575 Fixes: 189222575 Test: atest IncrementalServiceTest Change-Id: I73cb27d61c7418adeea7536c8263e6ba8c77fd3e --- services/incremental/IncrementalService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/incremental/IncrementalService.cpp b/services/incremental/IncrementalService.cpp index 757c9dec06ed6..0e96567dbfadb 100644 --- a/services/incremental/IncrementalService.cpp +++ b/services/incremental/IncrementalService.cpp @@ -91,7 +91,7 @@ struct Constants { static constexpr auto readLogsMaxInterval = 2h; // How long should we wait till dataLoader reports destroyed. - static constexpr auto destroyTimeout = 60s; + static constexpr auto destroyTimeout = 10s; static constexpr auto anyStatus = INT_MIN; };