From dbfe684588df0b5afe12953dd63d4f94a2042046 Mon Sep 17 00:00:00 2001 From: Fabian Freund Date: Fri, 26 Sep 2025 13:44:54 +0200 Subject: [PATCH] bump tor timeout to 1 hour --- app/lib/features/tor/utils/tor_entrypoint.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/lib/features/tor/utils/tor_entrypoint.dart b/app/lib/features/tor/utils/tor_entrypoint.dart index 95eb1499..72fae3ba 100644 --- a/app/lib/features/tor/utils/tor_entrypoint.dart +++ b/app/lib/features/tor/utils/tor_entrypoint.dart @@ -58,7 +58,8 @@ Future onStart(ServiceInstance service) async { void addHeartbeat() { timeout?.cancel(); - timeout = Timer(const Duration(minutes: 15), () async { + //Kill service after 1 hour of inactivity + timeout = Timer(const Duration(hours: 1), () async { // logger.i('Terminating tor due to timeout'); await stopService(); });