From ec829adb644b6e0cf3cc80f8934b614b0cfc891e Mon Sep 17 00:00:00 2001 From: mzz2017 <2017@duck.com> Date: Mon, 21 Aug 2023 22:52:20 +0800 Subject: [PATCH] chore: remove log of QUIC_GO_ENABLE_GSO --- cmd/client/run.go | 6 ------ cmd/server/run.go | 6 ------ 2 files changed, 12 deletions(-) diff --git a/cmd/client/run.go b/cmd/client/run.go index 3dc753f..15fb89a 100644 --- a/cmd/client/run.go +++ b/cmd/client/run.go @@ -55,12 +55,6 @@ var ( } gliderLog.SetLogger(logger) - // QUIC_GO_ENABLE_GSO - gso, _ := strconv.ParseBool(os.Getenv("QUIC_GO_ENABLE_GSO")) - logger.Info(). - Bool("Requested QUIC_GO_ENABLE_GSO", gso). - Send() - go func() { if err := Serve(conf); err != nil { logger.Fatal().Err(err).Send() diff --git a/cmd/server/run.go b/cmd/server/run.go index ab8b8e9..7260b4a 100644 --- a/cmd/server/run.go +++ b/cmd/server/run.go @@ -42,12 +42,6 @@ var ( Msg("Failed to init logger") } - // QUIC_GO_ENABLE_GSO - gso, _ := strconv.ParseBool(os.Getenv("QUIC_GO_ENABLE_GSO")) - logger.Info(). - Bool("Requested QUIC_GO_ENABLE_GSO", gso). - Send() - go func() { if err := Serve(conf); err != nil { logger.Fatal().