File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
src/main/java/mediathek/tool/http Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 41
41
- ** FEATURE:** Dialog "Filminformation" kann nun vollständig vergrößert oder verkleinert werden.
42
42
- ** FEATURE:** Die Filter werden nun über einen eigenen Button umbenannt und nicht mehr durch Eingabe in der ComboBox.
43
43
- ** FEATURE:** Bei der Lucene-Suche dürfen Wildcards nun auch am Anfang des Suchtexts verwendet werden.
44
+ - Network Timeout wurde auf 10 Sekunden erhöht. Dies sollte bei schlechten Netzwerkverbindungen etwas Abhilfe schaffen.
44
45
45
46
46
47
# ** 14.0.0**
Original file line number Diff line number Diff line change @@ -84,16 +84,19 @@ private OkHttpClient.Builder getDefaultClientBuilder() {
84
84
builder .connectionSpecs (Arrays .asList (ConnectionSpec .MODERN_TLS , ConnectionSpec .COMPATIBLE_TLS ));
85
85
}
86
86
87
- builder .connectTimeout (5 , TimeUnit .SECONDS )
88
- .writeTimeout (5 , TimeUnit .SECONDS )
89
- .readTimeout (2 , TimeUnit .SECONDS )
87
+ builder .connectTimeout (NETWORK_TIMEOUT , TimeUnit .SECONDS )
88
+ .writeTimeout (NETWORK_TIMEOUT , TimeUnit .SECONDS )
89
+ .readTimeout (NETWORK_TIMEOUT , TimeUnit .SECONDS )
90
90
.socketFactory (byteCounter .socketFactory ())
91
91
.followRedirects (true )
92
92
.followSslRedirects (true )
93
93
.dns (dnsSelector );
94
94
return builder ;
95
95
}
96
96
97
+ //TODO make configurable network timeout
98
+ private static final long NETWORK_TIMEOUT = 10 ;
99
+
97
100
public ByteCounter getByteCounter () {
98
101
return byteCounter ;
99
102
}
You can’t perform that action at this time.
0 commit comments