Merge pull request #624 from hb020/master

Allow more time for http get
This commit is contained in:
fvanroie 2024-01-27 15:45:55 +01:00 committed by GitHub
commit 1cb1448e98
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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"};