Skip to content

Commit

Permalink
Update core_section.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kwaaak authored Mar 26, 2019
1 parent bbda45d commit f74f8cf
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions sopel/config/core_section.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,14 +217,11 @@ def homedir(self):
verify_ssl = ValidatedAttribute('verify_ssl', bool, default=True)
"""Whether to require a trusted SSL certificate for SSL connections."""

flood_burst_lines = ValidatedAttribute('flood_burst_lines', int,
default=4)
flood_burst_lines = ValidatedAttribute('flood_burst_lines', int, default=4)
"""How many messages can be sent in burst mode."""

flood_empty_wait = ValidatedAttribute('flood_empty_wait', float,
default=0.7)
flood_empty_wait = ValidatedAttribute('flood_empty_wait', float, default=0.7)
"""How long to wait between sending messages when not in burst mode, in seconds."""

flood_refill_rate = ValidatedAttribute('flood_refill_rate', int,
default=1)
flood_refill_rate = ValidatedAttribute('flood_refill_rate', int, default=1)
"""How quickly burst mode recovers, in messages per second."""

0 comments on commit f74f8cf

Please sign in to comment.