From 2b4f9067058d93364da70e41775661808fdfddb9 Mon Sep 17 00:00:00 2001 From: Garet Halliday <me@garet.holiday> Date: Thu, 6 Jun 2024 16:00:20 -0500 Subject: [PATCH] remove debug log --- lib/bouncer/backends/v0/query.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/bouncer/backends/v0/query.go b/lib/bouncer/backends/v0/query.go index 8f585329..ebd466d2 100644 --- a/lib/bouncer/backends/v0/query.go +++ b/lib/bouncer/backends/v0/query.go @@ -1,7 +1,6 @@ package backends import ( - "log" "strings" "gfx.cafe/gfx/pggat/lib/fed" @@ -174,19 +173,12 @@ func sync(ctx *context) (bool, error) { return false, err } - var i int for { - i++ - err := ctx.ServerRead() if err != nil { return false, err } - if i > 100000 { - log.Printf("long sync, packet %c", ctx.Packet.Type()) - } - switch ctx.Packet.Type() { case packets.TypeParseComplete, packets.TypeBindComplete, -- GitLab