Commit 79ead193 by 宋毅

渠道增加

parent 4253173a
...@@ -160,14 +160,14 @@ class TmqueryService { ...@@ -160,14 +160,14 @@ class TmqueryService {
] ]
} }
}, },
"from": 0, "from": queryobj.from || 0,
"size": 2000, "size": queryobj.size || 2000,
"sort": [ "sort": [
{ {
"created_at": "desc" "created_at": "desc"
} }
] ]
}, `${this.reqEsAddr}bigdata_zc_op_log/_search`, 20000); }, `${this.reqEsAddr}bigdata_zc_op_log/_search`, 30000);
let result = data.stdout; let result = data.stdout;
result = JSON.parse(result); result = JSON.parse(result);
result = result.hits.hits; result = result.hits.hits;
......
...@@ -73,7 +73,7 @@ class ExecClient { ...@@ -73,7 +73,7 @@ class ExecClient {
let cmd = this.FetchPostCmd(params, url); let cmd = this.FetchPostCmd(params, url);
let options = { let options = {
timeout: timeOut, timeout: timeOut,
maxBuffer: 1024 * 1024 * 20 maxBuffer: 1024 * 1024 * 50
}; };
let result = await this.exec(cmd, options); let result = await this.exec(cmd, options);
return result; return result;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment