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

Commit 32dd8ab

Browse files
committed
small typo fix (#5655)
2 parents b5844ad + 78a1cd3 commit 32dd8ab

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

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
@@ -331,7 +331,7 @@ def _get_events_from_cache(self, events, allow_rejected, update_metrics=True):
331331
332332
Args:
333333
events (list(str)): list of event_ids to fetch
334-
allow_rejected (bool): Whether to teturn events that were rejected
334+
allow_rejected (bool): Whether to return events that were rejected
335335
update_metrics (bool): Whether to update the cache hit ratio metrics
336336
337337
Returns:

0 commit comments

Comments
 (0)