mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Fix small typo in comment (#6269)
This commit is contained in:
parent
46c12918ad
commit
7955abeaac
1
changelog.d/6269.misc
Normal file
1
changelog.d/6269.misc
Normal file
@ -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)
|
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
|
||||||
):
|
):
|
||||||
|
Loading…
Reference in New Issue
Block a user