Azure 服务总线功能未运行

标签 azure azure-functions azure-function-app

我使用 ServiceBusTrigger 设置了一个函数,该函数在部署时运行,然后在我测试并向主题发送消息时保持运行。但是,如果我等待一个小时左右,然后发送更多消息,则在我重新启动函数应用程序或禁用并重新启用实际函数之前,它们不会被处理。

如何更改此设置以使该功能始终“开启”?

最佳答案

听起来您正在使用专用的应用服务计划。确保您已启用“始终开启”。您至少需要有一个“基本”计划。如果您不想支付基本套餐费用,我建议您使用消费套餐。

https://github.com/Azure/Azure-Functions/wiki/Enable-Always-On-when-running-on-dedicated-App-Service-Plan

How do I turn on "always-on" for an Azure Function?

关于Azure 服务总线功能未运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62499132/

相关文章:

powershell - 如何通过PowerShell彻底清除Azure CDN?

azure - 将外部API管理实例切换到内部

azure - 将证书从 keyvault 添加到 Azure APIM

Azure存储Blob触发器没有唤醒休眠功能

python - 在 Power Automate 中运行 python 脚本

stackexchange.redis - Azure Function App 无法加载 System.IO.Pipelines 连接到 Redis

azure - azure 函数中的 Connect-azureAD powershell

azure - 在什么情况下需要创建多个Azure虚拟网络和子网?

azure - Azure Functions 实现和触发器的最佳实践

c# - 无法使用 Azure Functions 加载文件或程序集 System.Fabric