mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-26 15:08:28 +00:00
More logging
This commit is contained in:
parent
cb8dd816df
commit
0ba962fc5f
1 changed files with 1 additions and 0 deletions
|
@ -241,6 +241,7 @@ func newBackfillRequester(db storage.Database, fsAPI federationSenderAPI.Federat
|
|||
}
|
||||
|
||||
func (b *backfillRequester) StateIDsBeforeEvent(ctx context.Context, targetEvent gomatrixserverlib.HeaderedEvent) ([]string, error) {
|
||||
util.GetLogger(ctx).Infof("depth=%d type=%s event=%s prevs=%v", targetEvent.Depth(), targetEvent.Type(), targetEvent.EventID(), targetEvent.PrevEventIDs())
|
||||
b.eventIDMap[targetEvent.EventID()] = targetEvent.Unwrap()
|
||||
if ids, ok := b.eventIDToBeforeStateIDs[targetEvent.EventID()]; ok {
|
||||
util.GetLogger(ctx).Infof("backfill: StateIDsBeforeEvent OK returning cached state IDs for event %s", targetEvent.EventID())
|
||||
|
|
Loading…
Reference in a new issue