From 1e6ea6c4738206ec38af3ef7befaf1d03f9e5b7b Mon Sep 17 00:00:00 2001 From: Shawn Carey Date: Tue, 19 Nov 2024 13:34:43 -0500 Subject: [PATCH] Improve battery consumption on iOS (#257) * update ziti-tunnel-sdk-c@1.2.6 * increase service poll from 30s to 90s on iOS --- deps/ziti-tunnel-sdk-c | 2 +- lib/Ziti.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/ziti-tunnel-sdk-c b/deps/ziti-tunnel-sdk-c index 9b319c5..5cd3a4b 160000 --- a/deps/ziti-tunnel-sdk-c +++ b/deps/ziti-tunnel-sdk-c @@ -1 +1 @@ -Subproject commit 9b319c595ec26ab2032c43eb2043dcce0781e929 +Subproject commit 5cd3a4bd474a722cc525f6d4c0f73d2b7f4bc6ab diff --git a/lib/Ziti.swift b/lib/Ziti.swift index 769e7a5..3db1101 100644 --- a/lib/Ziti.swift +++ b/lib/Ziti.swift @@ -408,7 +408,7 @@ import CZitiPrivate #if os(macOS) let refresh_interval = 15 #else - let refresh_interval = 30 + let refresh_interval = 90 #endif // convert key and id info to char * types that ziti-sdk-c can use.