Reduce tolling min pay period to 40s
This commit is contained in:
parent
2fd4a02bfa
commit
a5d2d656c8
|
|
@ -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) {
|
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) {
|
if (tolling->protocol.c.tls.n_tlsc >= TOLLING_MAX_CONNS - 1) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#define TOLLING_INFOS_MAX_LENGTH 16
|
#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_MAX_CONNS 64
|
||||||
#define TOLLING_CONN_TIMEOUT_MS 10000
|
#define TOLLING_CONN_TIMEOUT_MS 10000
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue