Change GSUP re-connect interval to 1s

This leads to faster recovery in case of link loss.

It also makes the TTCN-3 test suite run much faster, as each test case
will inherently terminate the GSUP connection.

Change-Id: I16821a26f2c6ff4d0a76926c9212127ab6f6fedf
This commit is contained in:
Harald Welte 2018-01-27 22:57:38 +01:00
parent 71330720b6
commit 327c2f5beb
1 changed files with 4 additions and 1 deletions

View File

@ -25,7 +25,10 @@
#include <osmocom/msc/oap_client.h>
#define GSUP_CLIENT_RECONNECT_INTERVAL 10
/* a loss of GSUP between MSC and HLR is considered quite serious, let's try to recover as quickly as
* possible. Even one new connection attempt per second should be quite acceptable until the link is
* re-established */
#define GSUP_CLIENT_RECONNECT_INTERVAL 1
#define GSUP_CLIENT_PING_INTERVAL 20
struct msgb;