Add S3 options: httpOptions, maxRetries

This commit is contained in:
Eric Mc Sween
2020-07-09 17:50:05 -04:00
parent 82ec8d21a4
commit 6521837993
3 changed files with 23 additions and 0 deletions
@@ -361,6 +361,12 @@ module.exports = class S3Persistor extends AbstractPersistor {
options.s3ForcePathStyle = true
}
for (const opt of ['httpOptions', 'maxRetries']) {
if (this.settings[opt]) {
options[opt] = this.settings[opt]
}
}
return options
}