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

Commit

Permalink
Fix a small typo
Browse files Browse the repository at this point in the history
  • Loading branch information
anoadragon453 committed Feb 11, 2022
1 parent 3eafba7 commit 5de46ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synapse/notifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def notify(
self.current_token = self.current_token.copy_and_advance(stream_key, stream_id)
self.last_notified_token = self.current_token
self.last_notified_ms = time_now_ms
noify_deferred = self.notify_deferred
notify_deferred = self.notify_deferred

log_kv(
{
Expand All @@ -150,7 +150,7 @@ def notify(

with PreserveLoggingContext():
self.notify_deferred = ObservableDeferred(defer.Deferred())
noify_deferred.callback(self.current_token)
notify_deferred.callback(self.current_token)

def remove(self, notifier: "Notifier"):
"""Remove this listener from all the indexes in the Notifier
Expand Down

0 comments on commit 5de46ac

Please sign in to comment.