1
0
mirror of https://github.com/lxsang/ant-http synced 2024-06-29 11:59:48 +02:00

reduce proxy data wait time

This commit is contained in:
lxsang 2021-03-26 09:53:27 +01:00
parent 9c1e925e85
commit 2d06355b91

View File

@ -820,7 +820,7 @@ static void *proxy_monitor(void *data)
}
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->access_time = rq->client->last_io;