diff options
author | Alex Buynytskyy <alexbuy@google.com> | 2021-06-28 11:40:18 -0700 |
---|---|---|
committer | Alex Buynytskyy <alexbuy@google.com> | 2021-06-28 23:06:49 +0000 |
commit | 6e0b0fa671244a30e60d1d3f9de03051c2aa76b2 (patch) | |
tree | d5f58f26ffd2fdd39252129196626eba1f94a46d /services/incremental/IncrementalService.cpp | |
parent | 64051356de37cd167c409d0f374475d4b7843658 (diff) |
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
Diffstat (limited to 'services/incremental/IncrementalService.cpp')
-rw-r--r-- | services/incremental/IncrementalService.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/incremental/IncrementalService.cpp b/services/incremental/IncrementalService.cpp index 757c9dec06ed..0e96567dbfad 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; }; |