From 5d01aaf91d26a351e88b07189c717f220498c65e Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Fri, 8 May 2020 14:33:05 +0200 Subject: [PATCH] android: Increase lifetimes a bit This should avoid clashes of soft and hard lifetimes even if the app is not whitelisted. --- .../src/main/jni/libandroidbridge/backend/android_service.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontends/android/app/src/main/jni/libandroidbridge/backend/android_service.c b/src/frontends/android/app/src/main/jni/libandroidbridge/backend/android_service.c index f37d99295d..ba7a10ddb2 100644 --- a/src/frontends/android/app/src/main/jni/libandroidbridge/backend/android_service.c +++ b/src/frontends/android/app/src/main/jni/libandroidbridge/backend/android_service.c @@ -754,13 +754,13 @@ static job_requeue_t initiate(private_android_service_t *this) .unique = UNIQUE_REPLACE, .rekey_time = 36000, /* 10h */ .jitter_time = 600, /* 10min */ - .over_time = 600, /* 10min */ + .over_time = 1800, /* 30min */ }; child_cfg_create_t child = { .lifetime = { .time = { - .life = 3600, /* 1h */ - .rekey = 3000, /* 50min */ + .life = 9000, /* 2.5h */ + .rekey = 7200, /* 2h */ .jitter = 300 /* 5min */ }, }, -- 2.47.2