Increased time before reporting of library download duration goes red to 4 seconds.

Incrased travis build version to node 8, as embark only supports 8.10, and also perf_hooks requires 8.5
This commit is contained in:
emizzle 2018-06-06 12:04:30 +10:00
parent bbaf1676fb
commit 7e2f5624ba
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
language: node_js
node_js:
- "7"
- "8"
addons:
code_climate:
repo_token: 7454b1a666015e244c384d19f48c34e35d1ae58c3aa428ec542f10bbcb848358

View File

@ -43,7 +43,7 @@ class Npm {
// log our measurement and make it red if it has taken too long
if(entry && strDuration){
if(entry.duration > 1000){
if(entry.duration > 4000){
strDuration = strDuration.red;
}
this.logger.info(strDuration);