Task: Make Rate Limits Configurable
Opened this issue · 3 comments
carlaKC commented
Description
#47 introduces basic token bucket rate limiting, with two parameters:
call_count
: the number of calls allowed during one periodcall_frequency
: the period at which each peer's call count is refreshed
People running LNDK may want to toggle these values to allow more/less onion messages.
Steps to Complete
- Add
rate_limit_count
andrate_limit_period
toconfigure_me
config
Notes
- The original default values are arbitrarily chosen (10 messages / second), this task could change them if desired (probably increase, once folks have the knobs to lower them)
nassersaazi commented
i would love to take this on if no one is assigned @carlaKC