mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-17 03:43:11 -06:00
Remove debug lines
This commit is contained in:
parent
2b10a5ca23
commit
7ae6884cc8
|
|
@ -110,9 +110,9 @@ func (b *backfillRequester) StateBeforeEvent(ctx context.Context, roomVer gomatr
|
||||||
events, err := b.ProvideEvents(roomVer, eventIDs)
|
events, err := b.ProvideEvents(roomVer, eventIDs)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
// non-fatal, fallthrough
|
// non-fatal, fallthrough
|
||||||
logrus.WithError(err).Info("Failed to fetch events banana")
|
logrus.WithError(err).Info("Failed to fetch events")
|
||||||
} else {
|
} else {
|
||||||
logrus.Infof("Fetched %d/%d events from the database banana", len(events), len(eventIDs))
|
logrus.Infof("Fetched %d/%d events from the database", len(events), len(eventIDs))
|
||||||
if len(events) == len(eventIDs) {
|
if len(events) == len(eventIDs) {
|
||||||
result := make(map[string]*gomatrixserverlib.Event)
|
result := make(map[string]*gomatrixserverlib.Event)
|
||||||
for i := range events {
|
for i := range events {
|
||||||
|
|
@ -123,7 +123,6 @@ func (b *backfillRequester) StateBeforeEvent(ctx context.Context, roomVer gomatr
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
logrus.WithField("event_id", event.EventID()).Info("Requesting /state at event banana")
|
|
||||||
c := gomatrixserverlib.FederatedStateProvider{
|
c := gomatrixserverlib.FederatedStateProvider{
|
||||||
FedClient: b.fedClient,
|
FedClient: b.fedClient,
|
||||||
AuthEventsOnly: false,
|
AuthEventsOnly: false,
|
||||||
|
|
|
||||||
|
|
@ -489,7 +489,6 @@ func (r *RoomserverQueryAPI) QueryBackfill(
|
||||||
request *api.QueryBackfillRequest,
|
request *api.QueryBackfillRequest,
|
||||||
response *api.QueryBackfillResponse,
|
response *api.QueryBackfillResponse,
|
||||||
) error {
|
) error {
|
||||||
logrus.WithField("req", request).Info("QueryBackfill - I am " + r.ServerName)
|
|
||||||
// if we are requesting the backfill then we need to do a federation hit
|
// if we are requesting the backfill then we need to do a federation hit
|
||||||
// TODO: we could be more sensible and fetch as many events we already have then request the rest
|
// TODO: we could be more sensible and fetch as many events we already have then request the rest
|
||||||
// which is what the syncapi does already.
|
// which is what the syncapi does already.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue