mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-06-09 18:19:36 +00:00
add comment
This commit is contained in:
@@ -470,7 +470,7 @@ bool WebStatusService::refresh_versions_cache() {
|
||||
ssl_client.println("Connection: close");
|
||||
ssl_client.print("\r\n");
|
||||
|
||||
// wait for the first byte
|
||||
// wait for the first byte. The 5 seconds is GitHub's SLO
|
||||
uint32_t ms = millis();
|
||||
while (ssl_client.connected() && !ssl_client.available() && millis() - ms < 5000) {
|
||||
delay(1);
|
||||
|
||||
Reference in New Issue
Block a user