listmonk/cmd
Kailash Nadh 027261793f Add support for rate limiting messages with a sliding window.
Certain SMTP hosts limit the total number of messages that can be
sent within a window, for instance, X / 24 hours. The concurrency
and message rate controls can only limit that to a max of
1 messages / second, without a global cap.

This commit introduces a simple sliding window rate limit feature
that counts the number of messages sent in a specific window, and
upon reaching that limit, waits for the window to reset before
any more messages are pushed out globally across any number of
campaigns.

Context: https://github.com/knadh/listmonk/issues/119
2021-01-24 12:19:26 +05:30
..
admin.go Refactor and remove placeholder i18n func 2021-01-23 18:54:33 +05:30
campaigns.go Refactor and remove placeholder i18n func 2021-01-23 18:54:33 +05:30
handlers.go Add subscriber export feature 2021-01-23 18:23:29 +05:30
i18n.go WIP: Add i18n support 2021-01-17 20:59:01 +05:30
import.go Refactor and remove placeholder i18n func 2021-01-23 18:54:33 +05:30
init.go Add support for rate limiting messages with a sliding window. 2021-01-24 12:19:26 +05:30
install.go Add a DB setup check on boot 2020-11-10 22:21:25 +05:30
lists.go Refactor and remove placeholder i18n func 2021-01-23 18:54:33 +05:30
main.go Refactor i18n name and fix the L() function in public HTML templates 2021-01-23 19:34:30 +05:30
manager_db.go Clean up root and move app to `cmd` directory 2020-08-08 13:54:25 +05:30
media.go Refactor and remove placeholder i18n func 2021-01-23 18:54:33 +05:30
notifications.go Add generic HTTP postback `Messenger` support. 2020-10-10 18:52:08 +05:30
public.go Refactor i18n name and fix the L() function in public HTML templates 2021-01-23 19:34:30 +05:30
queries.go Add subscriber export feature 2021-01-23 18:23:29 +05:30
settings.go Add support for rate limiting messages with a sliding window. 2021-01-24 12:19:26 +05:30
subscribers.go Refactor and remove placeholder i18n func 2021-01-23 18:54:33 +05:30
templates.go Refactor and remove placeholder i18n func 2021-01-23 18:54:33 +05:30
updates.go Fix --version string and duplicate printing 2020-10-18 22:59:22 +05:30
upgrade.go WIP: Add i18n support 2021-01-17 20:59:01 +05:30
utils.go Add serverside sort to tables. 2020-10-24 20:00:29 +05:30