From 3dffe4859f721289a905fdcad02194c737a7c084 Mon Sep 17 00:00:00 2001 From: Melvin Gundlach Date: Sat, 20 Jun 2020 16:26:56 +0200 Subject: [PATCH] Double timeout interval. Update UpdateNotification. --- Denon Volume.xcodeproj/project.pbxproj | 8 ++++---- .../xcshareddata/swiftpm/Package.resolved | 2 +- Denon Volume/DenonCommunicator.swift | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Denon Volume.xcodeproj/project.pbxproj b/Denon Volume.xcodeproj/project.pbxproj index 736b151..58f85bf 100644 --- a/Denon Volume.xcodeproj/project.pbxproj +++ b/Denon Volume.xcodeproj/project.pbxproj @@ -613,7 +613,7 @@ CODE_SIGN_IDENTITY = "Mac Developer"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1.21; + CURRENT_PROJECT_VERSION = 1.22; DEVELOPMENT_TEAM = V7E5P7292M; ENABLE_HARDENED_RUNTIME = YES; FRAMEWORK_SEARCH_PATHS = ( @@ -627,7 +627,7 @@ "@loader_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.15; - MARKETING_VERSION = 1.21; + MARKETING_VERSION = 1.22; PRODUCT_BUNDLE_IDENTIFIER = "com.melgu.Denon-Volume"; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -644,7 +644,7 @@ CODE_SIGN_IDENTITY = "Mac Developer"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1.21; + CURRENT_PROJECT_VERSION = 1.22; DEVELOPMENT_TEAM = V7E5P7292M; ENABLE_HARDENED_RUNTIME = YES; FRAMEWORK_SEARCH_PATHS = ( @@ -658,7 +658,7 @@ "@loader_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.15; - MARKETING_VERSION = 1.21; + MARKETING_VERSION = 1.22; PRODUCT_BUNDLE_IDENTIFIER = "com.melgu.Denon-Volume"; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; diff --git a/Denon Volume.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Denon Volume.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 359e9db..55f3133 100644 --- a/Denon Volume.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/Denon Volume.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -15,7 +15,7 @@ "repositoryURL": "git@bitbucket.org:MikelG/updatenotification.git", "state": { "branch": "master", - "revision": "a198a04c3fb74743c90655e00349d412faf566c7", + "revision": "9dd07d9d919215d048be377145c6055832fecd05", "version": null } } diff --git a/Denon Volume/DenonCommunicator.swift b/Denon Volume/DenonCommunicator.swift index 373eb02..75ec065 100644 --- a/Denon Volume/DenonCommunicator.swift +++ b/Denon Volume/DenonCommunicator.swift @@ -28,8 +28,8 @@ public class DenonCommunicator { init() { let sessionConfig = URLSessionConfiguration.default - sessionConfig.timeoutIntervalForRequest = 0.5 // URL Session Timout per partial Request - sessionConfig.timeoutIntervalForResource = 0.5 // URL Session Total Timout per Resourcwe + sessionConfig.timeoutIntervalForRequest = 1.0 // URL Session Timout per partial Request + sessionConfig.timeoutIntervalForResource = 1.0 // URL Session Total Timout per Resourcwe session = URLSession(configuration: sessionConfig) }