1
0
mirror of https://github.com/lxsang/ant-http synced 2024-07-01 12:59:47 +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 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;