mirror of
https://github.com/element-hq/synapse.git
synced 2026-05-29 20:05:10 +00:00
Fix small typo in comment (#6269)
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Fix incorrect comment regarding the functionality of an `if` statement.
|
||||
@@ -145,7 +145,7 @@ class FederationServer(FederationBase):
|
||||
|
||||
logger.debug("[%s] Transaction is new", transaction.transaction_id)
|
||||
|
||||
# Reject if PDU count > 50 and EDU count > 100
|
||||
# Reject if PDU count > 50 or EDU count > 100
|
||||
if len(transaction.pdus) > 50 or (
|
||||
hasattr(transaction, "edus") and len(transaction.edus) > 100
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user