From 0766325b6976938dc2619a225af73e6f016100ac Mon Sep 17 00:00:00 2001 From: Kailash Nadh Date: Thu, 2 Apr 2020 18:28:14 +0530 Subject: [PATCH] Updated Configuration (markdown) --- Configuration.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Configuration.md b/Configuration.md index 5d23ed3..3ed8f98 100644 --- a/Configuration.md +++ b/Configuration.md @@ -4,6 +4,9 @@ Run `./listmonk --new-config` to generate a new sample configuration file, `conf ## Customization All the static assets including templates for public pages and system generated e-mails are bundled into the binary. However, `./listmonk --static-dir=your/custom/path` allows loading an external directory of static pages. To customize, copy the [static directory](https://github.com/knadh/listmonk/tree/master/static) to a local directory, customize the templates, and pass the path to listmonk using the `--static-dir` flag. +## Throughput and speed +To achieve maximum throughput increase the `app.concurrency` and `app.message_rate` parameters in the config file. `app.concurrency` (number of thread-workers) * `app.message_rate` (max messages per second per worker) is the maximum number of messages that listmonk will push out to one or more SMTP servers, as long as the SMTP servers are able to process the workload. + ## Environment variables Config keys in config.toml can also be provided to listmonk as environment variables prefixed by `LISTMONK_` and periods are replaced by `__` (double underscore). Example: