Reduce tolling min pay period to 40s

This commit is contained in:
emanuel 2022-07-27 17:16:07 +01:00
parent 2fd4a02bfa
commit a5d2d656c8
2 changed files with 2 additions and 2 deletions

View File

@ -1291,7 +1291,7 @@ void tolling_info_free(tolling_info_t* ti) {
}
tlsc_t* tolling_tlsc_new(tolling_t* tolling, itss_epv_t* epv, uint8_t ipv6[16], uint16_t port) {
syslog_debug("[tolling] new tlsc , nconns=%d", tolling->protocol.c.tls.n_tlsc);
syslog_debug("[tolling] new tlsc, nconns=%d", tolling->protocol.c.tls.n_tlsc);
if (tolling->protocol.c.tls.n_tlsc >= TOLLING_MAX_CONNS - 1) {
return NULL;
}

View File

@ -7,7 +7,7 @@
#include <stdbool.h>
#define TOLLING_INFOS_MAX_LENGTH 16
#define TOLLING_PAYMENT_MIN_PERIOD_MS 60000
#define TOLLING_PAYMENT_MIN_PERIOD_MS 40000
#define TOLLING_MAX_CONNS 64
#define TOLLING_CONN_TIMEOUT_MS 10000