原始文献 / 论坛帖 / Connection limits
Connection limits
Bitcointalk · 2010-08-09 20:58:45 UTC
SVN rev 125:
- 即使已有 8 个入站连接,也始终建立 8 个出站连接
- 出站连接限制为每个 a.b.?.? 网段一个
- 开关 -maxconnections=#
我加了个(目前未文档化的)开关 -maxconnections=#。除非你的路由器撑不住太多连接,否则不建议用;如果需要,试试 -maxconnections=30。
我还没怎么测试过 -maxconnections,有人能测一下吗?
英文原文
SVN rev 125:
- Always make 8 outbound connections even if have 8 inbound
- Limit outbound connections to one per a.b.?.? range
- Switch -maxconnections=#
I added the (currently undocumented) switch -maxconnections=#. You shouldn't use it unless you need to because your router can't maintain a lot of connections, then try -maxconnections=30.
I haven't really tested -maxconnections much, could someone test it?
