From 216e50b9fdce82a3216e0aed97e01a808021a457 Mon Sep 17 00:00:00 2001 From: Ben McClelland Date: Sat, 23 Dec 2023 22:56:49 -0800 Subject: [PATCH] fix: disable keepalive for better request rates under heavy load --- cmd/versitygw/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/versitygw/main.go b/cmd/versitygw/main.go index df2092c..eec9f5b 100644 --- a/cmd/versitygw/main.go +++ b/cmd/versitygw/main.go @@ -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