Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INTEGRATION [PR#2521 > development/8.7] Timeout setup in data mover s3 client #2523

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions extensions/replication/tasks/CopyLocationTask.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const BackbeatTask = require('../../../lib/tasks/BackbeatTask');
const { LifecycleMetrics } = require('../../lifecycle/LifecycleMetrics');
const ReplicationMetric = require('../ReplicationMetric');
const ReplicationMetrics = require('../ReplicationMetrics');
const { attachReqUids } = require('../../../lib/clients/utils');
const { attachReqUids, TIMEOUT_MS } = require('../../../lib/clients/utils');
const { getAccountCredentials } =
require('../../../lib/credentials/AccountCredentials');
const RoleCredentials =
Expand Down Expand Up @@ -77,7 +77,7 @@ class CopyLocationTask extends BackbeatTask {
endpoint: `${transport}://${s3.host}:${s3.port}`,
credentials: s3Credentials,
sslEnabled: transport === 'https',
httpOptions: { agent: this.sourceHTTPAgent, timeout: 0 },
httpOptions: { agent: this.sourceHTTPAgent, timeout: TIMEOUT_MS },
maxRetries: 0,
});
this.backbeatMetadataProxy = new BackbeatMetadataProxy(
Expand Down
Loading