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

Commit 78a1cd3

Browse files
anoadragon453richvdh
authored andcommitted
small typo fix (#5655)
1 parent 0a4001e commit 78a1cd3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.d/5655.doc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix a small typo in a code comment.

synapse/storage/events_worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ def _get_events_from_cache(self, events, allow_rejected, update_metrics=True):
327327
328328
Args:
329329
events (list(str)): list of event_ids to fetch
330-
allow_rejected (bool): Whether to teturn events that were rejected
330+
allow_rejected (bool): Whether to return events that were rejected
331331
update_metrics (bool): Whether to update the cache hit ratio metrics
332332
333333
Returns:

0 commit comments

Comments
 (0)