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:
parent
bbaf1676fb
commit
7e2f5624ba
|
@ -1,6 +1,6 @@
|
|||
language: node_js
|
||||
node_js:
|
||||
- "7"
|
||||
- "8"
|
||||
addons:
|
||||
code_climate:
|
||||
repo_token: 7454b1a666015e244c384d19f48c34e35d1ae58c3aa428ec542f10bbcb848358
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue