From c693dd2017c4ef999d8b9fe41e99e1a05f44b410 Mon Sep 17 00:00:00 2001 From: Laurent Le Houerou Date: Tue, 16 Apr 2024 15:46:39 +0400 Subject: [PATCH] remove debug logs --- graphql/paginated_query.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/graphql/paginated_query.go b/graphql/paginated_query.go index eb6e4db..a19ba23 100644 --- a/graphql/paginated_query.go +++ b/graphql/paginated_query.go @@ -3,8 +3,6 @@ package graphql import ( "context" "reflect" - - "github.com/rs/zerolog/log" ) type PaginatedQuery[ResultType any, Params any] struct { @@ -71,7 +69,6 @@ func (pq *PaginatedQuery[ResultType, Params]) Get( after := "" var noop ResultType pageSize := (pq.c.MaxComplexity() - 9) / (GetComplexity(reflect.TypeOf(noop)) + 1) - log.Debug().Msgf("using page size %d", pageSize) for { page, pi, err := pq.getPage(ctx, params, after, pageSize) if err != nil {