v1.0.12 - Incremento timeout HTTP a 30s/60s
This commit is contained in:
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
|
|||||||
Bundle-ManifestVersion: 2
|
Bundle-ManifestVersion: 2
|
||||||
Bundle-Name: BCV Exchange Rate Plugin
|
Bundle-Name: BCV Exchange Rate Plugin
|
||||||
Bundle-SymbolicName: com.venezuela.bcvrate;singleton:=true
|
Bundle-SymbolicName: com.venezuela.bcvrate;singleton:=true
|
||||||
Bundle-Version: 1.0.11
|
Bundle-Version: 1.0.12
|
||||||
Bundle-Vendor: Ezerpa
|
Bundle-Vendor: Ezerpa
|
||||||
Bundle-RequiredExecutionEnvironment: JavaSE-11
|
Bundle-RequiredExecutionEnvironment: JavaSE-11
|
||||||
Bundle-ActivationPolicy: lazy
|
Bundle-ActivationPolicy: lazy
|
||||||
|
|||||||
@@ -25,8 +25,8 @@ public class BCVApiService {
|
|||||||
|
|
||||||
private static final String BASE_URL = "https://bcv.today/api/v1";
|
private static final String BASE_URL = "https://bcv.today/api/v1";
|
||||||
private static final String BCV_WEBSITE = "https://www.bcv.org.ve/";
|
private static final String BCV_WEBSITE = "https://www.bcv.org.ve/";
|
||||||
private static final int CONNECTION_TIMEOUT = 15000;
|
private static final int CONNECTION_TIMEOUT = 30000;
|
||||||
private static final int READ_TIMEOUT = 30000;
|
private static final int READ_TIMEOUT = 60000;
|
||||||
private static final int MAX_DAYS_BACK = 10;
|
private static final int MAX_DAYS_BACK = 10;
|
||||||
|
|
||||||
public BCVRateResponse getRateForDateWithFallback(String requestedDate) {
|
public BCVRateResponse getRateForDateWithFallback(String requestedDate) {
|
||||||
|
|||||||
Reference in New Issue
Block a user