mirror of
https://github.com/urbit/shrub.git
synced 2025-01-03 01:54:43 +03:00
sets the http client request timeout to 2 minutes
This commit is contained in:
parent
a08dcf8a19
commit
36ae7a5f07
@ -932,8 +932,7 @@ _cttp_init_h2o()
|
||||
{
|
||||
h2o_timeout_t* tim_u = c3_malloc(sizeof(*tim_u));
|
||||
|
||||
// XX how long? 1 minute?
|
||||
h2o_timeout_init(u3L, tim_u, 10000);
|
||||
h2o_timeout_init(u3L, tim_u, 120 * 1000);
|
||||
|
||||
h2o_http1client_ctx_t* ctx_u = c3_calloc(sizeof(*ctx_u));
|
||||
ctx_u->loop = u3L;
|
||||
|
Loading…
Reference in New Issue
Block a user