High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(mobile): low upload timeout on android (#27399)
Merta1a293986853
diff --git a/mobile/lib/infrastructure/repositories/network.repository.dart b/mobile/lib/infrastructure/repositories/network.repository.dartindex bb5796e220..75f7850168 100644--- a/mobile/lib/infrastructure/repositories/network.repository.dart+++ b/mobile/lib/infrastructure/repositories/network.repository.dart@@ -22,7 +22,14 @@ class NetworkRepository {final session = URLSession.fromRawPointer(clientPointer.cast());_client = CupertinoClient.fromSharedSession(session);} else {- _client = OkHttpClient.fromJniGlobalRef(clientPointer);+ _client = OkHttpClient.fromJniGlobalRef(+ clientPointer,+ configuration: const OkHttpClientConfiguration(+ connectTimeout: Duration(seconds: 30),+ readTimeout: Duration(seconds: 60),+ writeTimeout: Duration(seconds: 60),+ ),+ );}}