Skip to content
This repository has been archived by the owner on May 28, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
…t-api into develop
  • Loading branch information
pkarw committed Feb 23, 2019
2 parents 20e0370 + 2934f18 commit 7f6722e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"attribute",
"taxrule",
"review"
]
],
"apiVersion": "5.6"
},
"redis": {
"host": "localhost",
Expand Down
2 changes: 1 addition & 1 deletion migrations/.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let es = require('elasticsearch')
const esConfig = {
host: config.elasticsearch.host + ':' + config.elasticsearch.port,
log: 'debug',
apiVersion: '5.5',
apiVersion: config.elasticsearch.apiVersion,
requestTimeout: 1000 * 60 * 60,
keepAlive: false
}
Expand Down
2 changes: 1 addition & 1 deletion src/api/extensions/gls-parcelshop-dk/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ cli.command('buildcache', () => {
port: config.elasticsearch.port
},
log: 'debug',
apiVersion: '5.5',
apiVersion: config.elasticsearch.apiVersion,
requestTimeout: 1000 * 60 * 60,
keepAlive: false
}
Expand Down
2 changes: 1 addition & 1 deletion src/platform/magento2/tax.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class TaxProxy extends AbstractTaxProxy {
const esConfig = { // as we're runing tax calculation and other data, we need a ES indexer
host: this._config.elasticsearch.host + ':' + this._config.elasticsearch.port,
log: 'debug',
apiVersion: '5.5',
apiVersion: this._config.elasticsearch.apiVersion,
requestTimeout: 5000
}
if (this._config.elasticsearch.user) {
Expand Down

0 comments on commit 7f6722e

Please sign in to comment.