summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
Diffstat (limited to 'synapse')
-rw-r--r--synapse/federation/federation_server.py4
-rw-r--r--synapse/util/async.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/synapse/federation/federation_server.py b/synapse/federation/federation_server.py
index 6e600fcb89..f4c60e67e3 100644
--- a/synapse/federation/federation_server.py
+++ b/synapse/federation/federation_server.py
@@ -539,12 +539,12 @@ class FederationServer(FederationBase):
                     # If we're missing stuff, ensure we only fetch stuff one
                     # at a time.
                     logger.info(
-                        "Aquiring lock for room %r to fetch %d missing events: %r...",
+                        "Acquiring lock for room %r to fetch %d missing events: %r...",
                         pdu.room_id, len(prevs - seen), list(prevs - seen)[:5],
                     )
                     with (yield self._room_pdu_linearizer.queue(pdu.room_id)):
                         logger.info(
-                            "Aquired lock for room %r to fetch %d missing events",
+                            "Acquired lock for room %r to fetch %d missing events",
                             pdu.room_id, len(prevs - seen),
                         )
 
diff --git a/synapse/util/async.py b/synapse/util/async.py
index 1e124163fa..4280455cbe 100644
--- a/synapse/util/async.py
+++ b/synapse/util/async.py
@@ -185,7 +185,7 @@ class Linearizer(object):
         self.key_to_defer[key] = new_defer
 
         if current_defer:
-            logger.info("Waiting to aquire linearizer lock for key %r", key)
+            logger.info("Waiting to acquire linearizer lock for key %r", key)
             with PreserveLoggingContext():
                 yield current_defer