mirror of
https://github.com/arduino-libraries/ArduinoHttpClient.git
synced 2025-04-19 21:22:15 +03:00
Reduce timeout from 1000ms to 100ms
Using this with the Arduino `WiFiClient` makes simple requests really slow. Reduce the timeout in order to make it faster.
This commit is contained in:
parent
c014e0cdb8
commit
527967d010
@ -340,7 +340,7 @@ protected:
|
||||
|
||||
// Number of milliseconds that we wait each time there isn't any data
|
||||
// available to be read (during status code and header processing)
|
||||
static const int kHttpWaitForDataDelay = 1000;
|
||||
static const int kHttpWaitForDataDelay = 100;
|
||||
// Number of milliseconds that we'll wait in total without receiving any
|
||||
// data before returning HTTP_ERROR_TIMED_OUT (during status code and header
|
||||
// processing)
|
||||
|
Loading…
x
Reference in New Issue
Block a user