mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-25 20:26:41 +00:00
Allow more time for http get
This commit is contained in:
parent
2dce5da766
commit
6bfdcd47a1
@ -1346,7 +1346,7 @@ static hasp_attribute_type_t special_attribute_src(lv_obj_t* obj, const char* pa
|
|||||||
#if HASP_USE_WIFI > 0 || HASP_USE_ETHERNET > 0
|
#if HASP_USE_WIFI > 0 || HASP_USE_ETHERNET > 0
|
||||||
HTTPClient http;
|
HTTPClient http;
|
||||||
http.begin(payload);
|
http.begin(payload);
|
||||||
http.setTimeout(1000);
|
http.setTimeout(5000);
|
||||||
http.setConnectTimeout(5000);
|
http.setConnectTimeout(5000);
|
||||||
|
|
||||||
// const char* hdrs[] = {"Content-Type"};
|
// const char* hdrs[] = {"Content-Type"};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user