remove debug logs

This commit is contained in:
Laurent Le Houerou 2024-04-16 15:46:39 +04:00
parent 30a8065a46
commit c693dd2017

View File

@ -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 {