Skip to content

Commit 1fc4a70

Browse files
committed
improve comment in rate_limit_numbers
1 parent 918c24a commit 1fc4a70

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

chia/server/rate_limit_numbers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ class RLSettings:
2424
# this class is used to indicate that a message type is not subject to a rate
2525
# limit, but just a per-message size limit. This may be appropriate for response
2626
# messages that are implicitly limited by their corresponding request message
27+
# Unlimited message types are also not subject to the overall limit across all
28+
# messages (just like messages in the "tx" category)
2729
@dataclasses.dataclass(frozen=True)
2830
class Unlimited:
2931
max_size: int # Max size of each request

0 commit comments

Comments
 (0)