mirror of
https://github.com/lxsang/ant-http
synced 2024-12-26 16:58:22 +01:00
reduce proxy data wait time
This commit is contained in:
parent
9c1e925e85
commit
2d06355b91
@ -820,7 +820,7 @@ static void *proxy_monitor(void *data)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
antd_task_bind_event(task, proxy->sock, 100u, TASK_EVT_ON_TIMEOUT);
|
antd_task_bind_event(task, proxy->sock, 10u, TASK_EVT_ON_TIMEOUT);
|
||||||
}
|
}
|
||||||
task->handle = proxy_monitor;
|
task->handle = proxy_monitor;
|
||||||
task->access_time = rq->client->last_io;
|
task->access_time = rq->client->last_io;
|
||||||
|
Loading…
Reference in New Issue
Block a user