remove debug logs
This commit is contained in:
parent
30a8065a46
commit
c693dd2017
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user