Fix S3 with some providers
Including our S3 mock server for tests
This commit is contained in:
parent
0130fb4664
commit
9ac4ecb6f8
|
@ -46,7 +46,9 @@ function getClient () {
|
|||
}
|
||||
: undefined,
|
||||
requestHandler: await getProxyRequestHandler(),
|
||||
maxAttempts: CONFIG.OBJECT_STORAGE.MAX_REQUEST_ATTEMPTS
|
||||
maxAttempts: CONFIG.OBJECT_STORAGE.MAX_REQUEST_ATTEMPTS,
|
||||
// Default behaviour has incompatibilities with some S3 providers: https://github.com/aws/aws-sdk-js-v3/issues/6810
|
||||
requestChecksumCalculation: 'WHEN_REQUIRED'
|
||||
})
|
||||
|
||||
logger.info('Initialized S3 client %s with region %s.', getEndpoint(), OBJECT_STORAGE.REGION, lTags())
|
||||
|
|
Loading…
Reference in New Issue