Allow more time for http get

This commit is contained in:
hans boot 2024-01-27 14:03:59 +01:00
parent 2dce5da766
commit 6bfdcd47a1

View File

@ -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
HTTPClient http;
http.begin(payload);
http.setTimeout(1000);
http.setTimeout(5000);
http.setConnectTimeout(5000);
// const char* hdrs[] = {"Content-Type"};