From df3746ad03a20e350092e58e48586fbaa4df48de Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Tue, 15 Jun 2021 18:47:37 +0300 Subject: [PATCH] s3-gw: drop dead code cmd/s3-gw/app-settings.go:31:2 deadcode `defaultKeepaliveTime` is unused cmd/s3-gw/app-settings.go:32:2 deadcode `defaultKeepaliveTimeout` is unused Signed-off-by: Roman Khimov --- cmd/s3-gw/app-settings.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/cmd/s3-gw/app-settings.go b/cmd/s3-gw/app-settings.go index 4ae6af3a6..6a4b69845 100644 --- a/cmd/s3-gw/app-settings.go +++ b/cmd/s3-gw/app-settings.go @@ -28,9 +28,6 @@ const ( defaultConnectTimeout = 30 * time.Second defaultShutdownTimeout = 15 * time.Second - defaultKeepaliveTime = 10 * time.Second - defaultKeepaliveTimeout = 10 * time.Second - defaultMaxClientsCount = 100 defaultMaxClientsDeadline = time.Second * 30 )