aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2021-01-13 18:16:04 +0100
committerDaniel Willmann <dwillmann@sysmocom.de>2021-01-13 18:21:48 +0100
commitef0c2a4b85999d75dc4c40fa81e1ba3846c16f7c (patch)
treec600e1fabb36b85068c4a50cfad80c9065fd4dd3
parent02b24c5a44f5b6869833fd4ff6ebd9ded1b9a3aa (diff)
gbproxy: Increase TLLI cache timeout to 10s
The range of SUSPEND/RESUME timers T3/T4 is up to 10s so we should keep the cache entries valid for this time. Fixes: OS#4895 Change-Id: I9e88e49981098831f3255938deb868f4503f650f Related: SYS#5235
-rw-r--r--src/gbproxy/gb_proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gbproxy/gb_proxy.c b/src/gbproxy/gb_proxy.c
index 91324ddf3..7f8260c8d 100644
--- a/src/gbproxy/gb_proxy.c
+++ b/src/gbproxy/gb_proxy.c
@@ -1413,7 +1413,7 @@ int gbproxy_init_config(struct gbproxy_config *cfg)
cfg->pool.bvc_fc_ratio = 100;
cfg->pool.null_nri_ranges = osmo_nri_ranges_alloc(cfg);
/* TODO: Make configurable */
- cfg->tlli_cache.timeout = 5;
+ cfg->tlli_cache.timeout = 10;
hash_init(cfg->bss_nses);
hash_init(cfg->sgsn_nses);