|
@@ -33,10 +33,7 @@ public class TsdbConfig {
|
|
|
if (StringUtils.isEmpty(userName)) {
|
|
|
influxDB = InfluxDBFactory.connect(influxDBUrl);
|
|
|
} else {
|
|
|
- OkHttpClient.Builder client = new OkHttpClient.Builder();
|
|
|
- client.readTimeout(300, TimeUnit.SECONDS);
|
|
|
- client.connectTimeout(24, TimeUnit.HOURS);
|
|
|
- influxDB = InfluxDBFactory.connect(influxDBUrl, userName, password,client);
|
|
|
+ influxDB = InfluxDBFactory.connect(influxDBUrl, userName, password);
|
|
|
}
|
|
|
try {
|
|
|
|