diff options
author | Harald Welte <laforge@gnumonks.org> | 2018-01-27 22:57:38 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-01-28 00:14:25 +0000 |
commit | 327c2f5beb90c4642b979fb6117856fd2a2d0d8d (patch) | |
tree | d0599bc566dde30acbbf237fe5650047625bfe90 | |
parent | 71330720b6efdda2fcfd3e9c0cb45f89e32e5670 (diff) |
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
-rw-r--r-- | include/osmocom/msc/gsup_client.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/osmocom/msc/gsup_client.h b/include/osmocom/msc/gsup_client.h index 3d1dce078..ce065a6e3 100644 --- a/include/osmocom/msc/gsup_client.h +++ b/include/osmocom/msc/gsup_client.h @@ -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; |