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

Commit d15d241

Browse files
committed
1 parent 7d6fb1b commit d15d241

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

synapse/storage/persist_events.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,9 @@
107107
_PersistResult = TypeVar("_PersistResult")
108108

109109

110-
@attr.s(auto_attribs=True, slots=True)
110+
@attr.s(auto_attribs=True)
111111
class _EventPersistQueueItem(Generic[_PersistResult]):
112+
__slots__ = ["events_and_contexts", "backfilled", "deferred"]
112113
events_and_contexts: List[Tuple[EventBase, EventContext]]
113114
backfilled: bool
114115
deferred: ObservableDeferred[_PersistResult]

0 commit comments

Comments
 (0)