Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

tcp的1m超时怎么解决 #245

Open
dongasai opened this issue Jul 30, 2018 · 0 comments
Open

tcp的1m超时怎么解决 #245

dongasai opened this issue Jul 30, 2018 · 0 comments

Comments

@dongasai
Copy link

dongasai commented Jul 30, 2018

docker --name app-1 --expose 9000 --expose 9001 -e TCP_PORTS="9000, 9001" your_app
docker --name app-2 --expose 9000 --expose 9001 -e TCP_PORTS="9000, 9001" your_app
docker run --link app-1:app-1 --link app-2:app-2 -p 9000:9000, 9001:9001 dockercloud/haproxy

我采用上面的方式代码做了个tcp的负载均衡,测试可用,但是遇到了在没有数据发送的情况下1min超时的问题,我想把超时时间改大一点,怎么弄?在说明中没有找到相关的环境变量

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant