mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Set network call timeout to 90 seconds (instead of infinite)
This commit is contained in:
		| @@ -27,6 +27,7 @@ class NetworkHelper(context: Context) { | ||||
|                 .cookieJar(cookieManager) | ||||
|                 .connectTimeout(30, TimeUnit.SECONDS) | ||||
|                 .readTimeout(30, TimeUnit.SECONDS) | ||||
|                 .callTimeout(90, TimeUnit.SECONDS) | ||||
|                 // .fastFallback(true) // TODO: re-enable when OkHttp 5 is stabler | ||||
|                 .addInterceptor(UserAgentInterceptor()) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user