mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-02-25 05:53:09 -06:00
Comment on what the RoomRecentEventsUpdater is doing
This commit is contained in:
parent
0f4787efeb
commit
bb38ef4433
|
|
@ -127,6 +127,8 @@ type StateEntryList struct {
|
|||
}
|
||||
|
||||
// A RoomRecentEventsUpdater is used to update the recent events in a room.
|
||||
// (On postgresql this wraps a database transaction that holds a "FOR UPDATE"
|
||||
// lock on the a row holding the latest events for the room.)
|
||||
type RoomRecentEventsUpdater interface {
|
||||
// Store the previous events referenced by an event.
|
||||
StorePreviousEvents(eventNID EventNID, previousEventReferences []gomatrixserverlib.EventReference) error
|
||||
|
|
|
|||
Loading…
Reference in a new issue