Skip to content

Commit 606a567

Browse files
authoredMar 22, 2024
Merge pull request #125 from carbotaniuman/patch-1
Reduce timeout from 1000ms to 100ms
2 parents 9d6adef + 527967d commit 606a567

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/HttpClient.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ class HttpClient : public Client
342342

343343
// Number of milliseconds that we wait each time there isn't any data
344344
// available to be read (during status code and header processing)
345-
static const int kHttpWaitForDataDelay = 1000;
345+
static const int kHttpWaitForDataDelay = 100;
346346
// Number of milliseconds that we'll wait in total without receiving any
347347
// data before returning HTTP_ERROR_TIMED_OUT (during status code and header
348348
// processing)

0 commit comments

Comments
 (0)