将 ServicePointManager.DefaultConnectionLimit 设置为什么 [英] What to set ServicePointManager.DefaultConnectionLimit to

查看:24
本文介绍了将 ServicePointManager.DefaultConnectionLimit 设置为什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ServicePointManager.DefaultConnectionLimit 设置了 Worker Role 的最大并发会话数,但如何在此处找到最佳值?

ServicePointManager.DefaultConnectionLimit sets the maximum number of concurrent sessions for a Worker Role, but how can I find the best value here?

推荐答案

这是获取价值的最佳建议,请访问 论坛.另请阅读列出的知识库文章.

This is the best advise on getting the value is here on forums. Also read the knowledge base article listed.

关键是默认值 2 会让您遇到连接断开的问题.

The point is that the default of 2 will get you into trouble with connection drops.

这篇关于将 ServicePointManager.DefaultConnectionLimit 设置为什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆