Comparing version 1.9.4 to 1.9.5
@@ -39,3 +39,3 @@ 'use strict'; | ||
if (this.reportInterval < 60000) { | ||
// throw new Error('report interval should not less than 60s'); | ||
throw new Error('report interval should not less than 60s'); | ||
} | ||
@@ -42,0 +42,0 @@ this.config = config; |
@@ -51,3 +51,3 @@ 'use strict'; | ||
var patt = /^(node|access|tracing)-(\d{8})\.log$/; | ||
var patt = /^(node|access)-(\d{8})\.log$/; | ||
@@ -54,0 +54,0 @@ var cleanOldLogs = function (callback) { |
@@ -9,3 +9,3 @@ 'use strict'; | ||
exports.coredir = []; | ||
var REPORT_INTERVAL = 60 * 1000; | ||
var REPORT_INTERVAL = 60 * 1000; | ||
@@ -90,3 +90,4 @@ // if user renamed core file, then only check those with the prefix | ||
if (err) { | ||
return callback(err); | ||
// 忽略该进程 | ||
return callback(null, null); | ||
} | ||
@@ -93,0 +94,0 @@ var envs = env.toString().trim().split('\u0000'); |
@@ -9,3 +9,3 @@ 'use strict'; | ||
var MAX_LINES = 250; // 最多 250 行数据 | ||
var MAX_LINES = 250; // 最多200行数据 | ||
var buffered = []; | ||
@@ -12,0 +12,0 @@ exports.logdir = ''; // 日志路径 |
{ | ||
"name": "agentx", | ||
"version": "1.9.4", | ||
"version": "1.9.5", | ||
"description": "agentx is powered by alinode", | ||
@@ -5,0 +5,0 @@ "scripts": { |
14
47474
18
1549