mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-31 20:52:13 +01:00
Change key from connection_timeout to connection_timeout_ms preferences
This commit is contained in:
parent
a7d395f45e
commit
5dba31bfd7
@ -40,7 +40,7 @@ public class HttpConnectionManager {
|
|||||||
try {
|
try {
|
||||||
connectTimeoutFromConfig =
|
connectTimeoutFromConfig =
|
||||||
Integer.parseInt(
|
Integer.parseInt(
|
||||||
PreferencesData.get("http.connection_timeout", "5000"));
|
PreferencesData.get("http.connection_timeout_ms", "5000"));
|
||||||
} catch (NumberFormatException e) {
|
} catch (NumberFormatException e) {
|
||||||
log.warn(
|
log.warn(
|
||||||
"Cannot parse the http.connection_timeout configuration switch to default {} milliseconds", connectTimeoutFromConfig, e.getCause());
|
"Cannot parse the http.connection_timeout configuration switch to default {} milliseconds", connectTimeoutFromConfig, e.getCause());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user