feat(ngcc): allow async locking timeouts to be configured (#36838)

The commit adds support to the ngcc.config.js file for setting the
`retryAttempts` and `retryDelay` options for the `AsyncLocker`.

An integration test adds a new check for a timeout and actually uses the
ngcc.config.js to reduce the timeout time to prevent the test from taking
too long to complete.

PR Close #36838
This commit is contained in:
Pete Bacon Darwin
2020-04-28 15:32:05 +01:00
committed by Alex Rickabaugh
parent 98931bf9b5
commit 38f805cd06
6 changed files with 272 additions and 264 deletions

View File

@ -0,0 +1,6 @@
module.exports = {
locking: {
retryAttempts: 5,
retryDelay: 100,
}
};