mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 20:01:50 +00:00
Bug 1822728 - Increase the child process shutdown timeout for Unix ccov builds. r=ipc-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D172752
This commit is contained in:
parent
2d37b0d4b4
commit
881a15b0e6
@ -25,7 +25,11 @@ static constexpr int kMaxWaitMs = 2000;
|
||||
// This is also somewhat arbitrary, but loosely based on Try results.
|
||||
// See also toolkit.asyncshutdown.crash_timeout (currently 60s) after
|
||||
// which the parent process will be killed.
|
||||
#if defined(MOZ_ASAN) || defined(MOZ_TSAN)
|
||||
#ifdef MOZ_CODE_COVERAGE
|
||||
// Code coverage instrumentation can be slow (especially when writing
|
||||
// out data, which has to take a lock on the data files).
|
||||
static constexpr int kShutdownWaitMs = 80000;
|
||||
#elif defined(MOZ_ASAN) || defined(MOZ_TSAN)
|
||||
// Sanitizers slow things down in some cases; see bug 1806224.
|
||||
static constexpr int kShutdownWaitMs = 40000;
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user