Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
richvdh committed Jul 16, 2021
1 parent 7d6fb1b commit d15d241
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion synapse/storage/persist_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,9 @@
_PersistResult = TypeVar("_PersistResult")


@attr.s(auto_attribs=True, slots=True)
@attr.s(auto_attribs=True)
class _EventPersistQueueItem(Generic[_PersistResult]):
__slots__ = ["events_and_contexts", "backfilled", "deferred"]
events_and_contexts: List[Tuple[EventBase, EventContext]]
backfilled: bool
deferred: ObservableDeferred[_PersistResult]
Expand Down

0 comments on commit d15d241

Please sign in to comment.