fix(classes.host): Adjust requestStreaming timeout and autoDrain; stabilize tests
This commit is contained in:
@@ -306,8 +306,8 @@ export class DockerHost {
|
||||
.header('Content-Type', 'application/json')
|
||||
.header('X-Registry-Auth', this.registryToken)
|
||||
.header('Host', 'docker.sock')
|
||||
.timeout(600000) // Set 10 minute timeout for streaming operations
|
||||
.options({ keepAlive: false, autoDrain: false }); // Disable auto-drain for streaming
|
||||
.timeout(30000)
|
||||
.options({ keepAlive: false, autoDrain: true }); // Disable auto-drain for streaming
|
||||
|
||||
// If we have a readStream, use the new stream method with logging
|
||||
if (readStream) {
|
||||
|
Reference in New Issue
Block a user