mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Add S3 options: httpOptions, maxRetries
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user