【发布时间】:2018-02-16 06:20:57
【问题描述】:
最新版本的 Azure Functions 工具(版本 1.0.9)在启动时会生成以下警告:
ServicePointManager.DefaultConnectionLimit is set to the default value of 2.
This can limit the connection throughput to services like Azure Storage. For
more information, see https://aka.ms/webjobs-connections.
提供的链接中的信息建议在 Azure WebJob 的 Main 方法中设置此值。但是,函数没有 Main 方法。在 Azure Function App 中设置此值的最佳位置在哪里(尤其是在使用消费计划时)?
【问题讨论】:
-
你对你的函数应用有什么计划?消费还是应用服务?
-
哦,没想到这很重要。这是一个消费计划。
标签: azure azure-functions