Added an (optional) maximal daily (that is the real life day) payments.
It is disabled by default (or by setting the value to a negative one).
The new config entry:
Code (YAML):
max-payments-per-day
: -1
PS:
This functionality works only if daily logs are enabled.
This is because it requires the knowledge of payments during the day and these can (potentially) span multiple server restarts.
As such for this functionality to be enabled, you need the following config options:
Code (YAML):
log-payments
: true
# needed to do daily logs
do-daily-logs
: true
# needed for daily information
max-payments-per-day
: 10
# set this to a non-negative value to use a limit