Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSami Hiltunen <shiltunen@gitlab.com>2021-02-11 20:47:39 +0300
committerSami Hiltunen <shiltunen@gitlab.com>2021-02-11 20:49:37 +0300
commiteb182fcc6da026258eb6a48cede4956748ed54d3 (patch)
tree988f3cfe992a052022374c69719aba98e5e07bd4 /internal/praefect/server.go
parentf38ab4f49c00e3a71ab4075fd12bb7bdce0e5d22 (diff)
disable feature flag logging
Due to concerns about the feature flags growing log sizes quite a lot, this commit removes the feature flag logging interceptor.
Diffstat (limited to 'internal/praefect/server.go')
-rw-r--r--internal/praefect/server.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/internal/praefect/server.go b/internal/praefect/server.go
index dabac9dd3..c15859c9b 100644
--- a/internal/praefect/server.go
+++ b/internal/praefect/server.go
@@ -13,7 +13,6 @@ import (
"gitlab.com/gitlab-org/gitaly/internal/gitaly/server/auth"
"gitlab.com/gitlab-org/gitaly/internal/helper/fieldextractors"
"gitlab.com/gitlab-org/gitaly/internal/middleware/cancelhandler"
- "gitlab.com/gitlab-org/gitaly/internal/middleware/featureflag"
"gitlab.com/gitlab-org/gitaly/internal/middleware/metadatahandler"
"gitlab.com/gitlab-org/gitaly/internal/middleware/panichandler"
"gitlab.com/gitlab-org/gitaly/internal/middleware/sentryhandler"
@@ -61,7 +60,6 @@ func NewGRPCServer(
metadatahandler.StreamInterceptor,
grpc_prometheus.StreamServerInterceptor,
grpc_logrus.StreamServerInterceptor(logger),
- featureflag.StreamInterceptor,
sentryhandler.StreamLogHandler,
cancelhandler.Stream, // Should be below LogHandler
grpctracing.StreamServerTracingInterceptor(),
@@ -85,7 +83,6 @@ func NewGRPCServer(
metadatahandler.UnaryInterceptor,
grpc_prometheus.UnaryServerInterceptor,
grpc_logrus.UnaryServerInterceptor(logger),
- featureflag.UnaryInterceptor,
sentryhandler.UnaryLogHandler,
cancelhandler.Unary, // Should be below LogHandler
grpctracing.UnaryServerTracingInterceptor(),