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

Commit

Permalink
Update synapse/storage/persist_events.py
Browse files Browse the repository at this point in the history
Co-authored-by: Erik Johnston <erik@matrix.org>
  • Loading branch information
richvdh and erikjohnston committed Jul 28, 2021
1 parent 9674fc5 commit eb30f8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/storage/persist_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ async def add_to_queue(
end_item = queue[-1]
else:
# need to make a new queue item
deferred: ObservableDeferred[_PersistResult] = ObservableDeferred(
deferred = ObservableDeferred[_PersistResult](
defer.Deferred(), consumeErrors=True
)

Expand Down

0 comments on commit eb30f8e

Please sign in to comment.