Skip to content
Snippets Groups Projects
Unverified Commit 7955abea authored by Andrew Morgan's avatar Andrew Morgan Committed by GitHub
Browse files

Fix small typo in comment (#6269)

parent 46c12918
No related branches found
No related tags found
No related merge requests found
Fix incorrect comment regarding the functionality of an `if` statement.
\ No newline at end of file
...@@ -145,7 +145,7 @@ class FederationServer(FederationBase): ...@@ -145,7 +145,7 @@ class FederationServer(FederationBase):
logger.debug("[%s] Transaction is new", transaction.transaction_id) 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 ( if len(transaction.pdus) > 50 or (
hasattr(transaction, "edus") and len(transaction.edus) > 100 hasattr(transaction, "edus") and len(transaction.edus) > 100
): ):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment