Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
client-s3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李金钢
client-s3
Commits
2bcba36d
Commit
2bcba36d
authored
Mar 30, 2026
by
Auto Backup
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase timeout for large file uploads: connectionTimeout 10s->60s, socketTimeout 30s->180s
parent
0716b6d6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
s3-client.js
lib/s3-client.js
+2
-2
No files found.
lib/s3-client.js
View file @
2bcba36d
...
@@ -28,8 +28,8 @@ const createS3Client = (config = {}) => {
...
@@ -28,8 +28,8 @@ const createS3Client = (config = {}) => {
forcePathStyle
:
true
,
// Must be enabled for RustFS compatibility
forcePathStyle
:
true
,
// Must be enabled for RustFS compatibility
maxAttempts
:
3
,
maxAttempts
:
3
,
requestHandler
:
new
NodeHttpHandler
({
requestHandler
:
new
NodeHttpHandler
({
connectionTimeout
:
10000
,
// Increased from 3000 to 10000 m
s
connectionTimeout
:
60000
,
// Increased from 10000 to 60000 ms for high-latency network
s
socketTimeout
:
30000
,
// Increased from 5000 to 30000 m
s
socketTimeout
:
180000
,
// Increased from 30000 to 180000 ms (3 min) for large file upload
s
}),
}),
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment