feat(app): pass relay.rate_per_second to the queue worker
- one line of wiring, a commented example in parsimony.example.yaml - tests: with a rate of 20/s eight deliveries to a sink take at least 350 ms, without a rate they are not paced
This commit is contained in:
parent
8ac4943e49
commit
adeae3f451
1 changed files with 51 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ relay:
|
|||
# username: user
|
||||
# password_file: /run/secrets/relay-password
|
||||
concurrency: 4 # simultaneous deliveries
|
||||
# rate_per_second: 14 # at most this many sends started per second, for relays that throttle (Amazon SES); 0 = unlimited
|
||||
web:
|
||||
listen: 0.0.0.0:8081 # public archive and unsubscribe pages; "" disables them
|
||||
api:
|
||||
|
|
|
|||
Loading…
Reference in a new issue