fix: disable keepalive for better request rates under heavy load

This commit is contained in:
Ben McClelland
2023-12-23 22:56:49 -08:00
parent 6f6af8ec07
commit 216e50b9fd
+1
View File
@@ -333,6 +333,7 @@ func runGateway(ctx context.Context, be backend.Backend) error {
ServerHeader: "VERSITYGW",
BodyLimit: int(blimit),
StreamRequestBody: true,
DisableKeepalive: true,
})
var opts []s3api.Option