From e0fde0c24e55dbd76fbae282c61ec00b477d0379 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Fri, 4 Dec 2020 17:22:58 +0000 Subject: [PATCH] Log less --- federationsender/queue/destinationqueue.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/federationsender/queue/destinationqueue.go b/federationsender/queue/destinationqueue.go index 9293d7802..e20500315 100644 --- a/federationsender/queue/destinationqueue.go +++ b/federationsender/queue/destinationqueue.go @@ -171,7 +171,6 @@ func (oq *destinationQueue) getPendingFromDatabase() { // in the database. ctx := context.Background() if pduCapacity := maxPDUsInMemory - len(oq.pendingPDUs); pduCapacity > 0 { - logrus.Infof("Retrieving up to %d pending PDUs from the database for %q", pduCapacity, oq.destination) if pdus, err := oq.db.GetPendingPDUs(ctx, oq.destination, pduCapacity); err == nil { for receipt, pdu := range pdus { oq.pendingPDUs = append(oq.pendingPDUs, &queuedPDU{receipt, pdu}) @@ -181,7 +180,6 @@ func (oq *destinationQueue) getPendingFromDatabase() { } } if eduCapacity := maxPDUsInMemory - len(oq.pendingPDUs); eduCapacity > 0 { - logrus.Infof("Retrieving up to %d pending EDUs from the database for %q", eduCapacity, oq.destination) if edus, err := oq.db.GetPendingEDUs(ctx, oq.destination, eduCapacity); err == nil { for receipt, edu := range edus { oq.pendingEDUs = append(oq.pendingEDUs, &queuedEDU{receipt, edu})