Commit 2bcba36d authored by Auto Backup's avatar Auto Backup

Increase timeout for large file uploads: connectionTimeout 10s->60s, socketTimeout 30s->180s

parent 0716b6d6
......@@ -28,8 +28,8 @@ const createS3Client = (config = {}) => {
forcePathStyle: true, // Must be enabled for RustFS compatibility
maxAttempts: 3,
requestHandler: new NodeHttpHandler({
connectionTimeout: 10000, // Increased from 3000 to 10000 ms
socketTimeout: 30000, // Increased from 5000 to 30000 ms
connectionTimeout: 60000, // Increased from 10000 to 60000 ms for high-latency networks
socketTimeout: 180000, // Increased from 30000 to 180000 ms (3 min) for large file uploads
}),
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment