ac-bootstrap-elasticsearch
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -0,1 +1,11 @@ | ||
<a name="1.0.9"></a> | ||
## [1.0.9](https://github.com/admiralcloud/ac-bootstrap-bull/compare/v1.0.8..v1.0.9) (2024-01-12 19:57:30) | ||
### Bug Fix | ||
* **App:** Make sure requestTimeout is not undefined | MP | [3c42ef563b95a5651e490f04aa51d7857144dd06](https://github.com/admiralcloud/ac-bootstrap-bull/commit/3c42ef563b95a5651e490f04aa51d7857144dd06) | ||
If undefined, refreshing credentials won't work. | ||
Related issues: [undefined/undefined#master](undefined/browse/master) | ||
<a name="1.0.8"></a> | ||
@@ -2,0 +12,0 @@ |
@@ -37,3 +37,3 @@ const _ = require('lodash') | ||
auth: _.get(server, 'auth'), | ||
requestTimeout: acapi.config.elasticSearch.timeout, | ||
requestTimeout: _.get(acapi.config, 'elasticSearch.timeout', 30000), | ||
} | ||
@@ -40,0 +40,0 @@ if (keepAlive) esConfig.agent = keepAliveAgent |
{ | ||
"name": "ac-bootstrap-elasticsearch", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "OpenSearch (ElasticSearch) init for AC apps", | ||
@@ -5,0 +5,0 @@ "repository": "admiralcloud/ac-bootstrap-elasticsearch", |
19997