From 487963318e176f5e63d7e32475bfe93cf3c2decd Mon Sep 17 00:00:00 2001 From: Dmitry Grinberg Date: Wed, 4 Nov 2015 10:22:01 +0000 Subject: dex2oat: Increase timeout to allow slow CPUs to finish compilation Change-Id: Ib9f19e0acf1a0a5b90d8b7ef2a0daf224cb2aec1 --- dex2oat/dex2oat.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc index d466a9b..18a5a45 100644 --- a/dex2oat/dex2oat.cc +++ b/dex2oat/dex2oat.cc @@ -436,8 +436,8 @@ class WatchDog { // Debug builds are slower so they have larger timeouts. static constexpr int64_t kSlowdownFactor = kIsDebugBuild ? 5U : 1U; - // 10 minutes scaled by kSlowdownFactor. - static constexpr int64_t kWatchDogTimeoutSeconds = kSlowdownFactor * 10 * 60; + // 60 minutes scaled by kSlowdownFactor. + static constexpr int64_t kWatchDogTimeoutSeconds = kSlowdownFactor * 60 * 60; bool is_watch_dog_enabled_; bool shutting_down_; -- cgit v1.1