mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 09:46:07 -04:00
Avoid checking the event cache when backfilling events (#14164)
This commit is contained in:
parent
828b5502cf
commit
dc02d9f8c5
4 changed files with 140 additions and 15 deletions
|
@ -374,7 +374,7 @@ class EventsWorkerStore(SQLBaseStore):
|
|||
If there is a mismatch, behave as per allow_none.
|
||||
|
||||
Returns:
|
||||
The event, or None if the event was not found.
|
||||
The event, or None if the event was not found and allow_none is `True`.
|
||||
"""
|
||||
if not isinstance(event_id, str):
|
||||
raise TypeError("Invalid event event_id %r" % (event_id,))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue