Azure Function应用程序预热状态

问题描述

我目前正在使用多个Azure Function应用实例, 使用“ apiVersion”:“ 2015-08-01”。 目前,我不使用任何预热触发器,并且只有很少的功能始终处于“预热”状态,即使 重新启动时,应用程序很快就会进入预热状态,具有相同经验的任何人 并找到了解决方案?

ARM模板

{
  "apiVersion": "2015-08-01","type": "Microsoft.Web/sites","name": "[variables('xx')]","location": "[parameters('location')]","kind": "functionapp","identity": {
    "type": "SystemAssigned"
  },"dependsOn": [
    "[resourceId('Microsoft.Web/serverfarms',variables('xx'))]"
  ],"properties": {
    "serverFarmId": "[resourceId('Microsoft.Web/serverfarms',variables('xx'))]","siteConfig": {
      "appSettings": [
      
      ]
    }
  }

入门

[FunctionName("xxStarter")]
    public async Task Run([QueueTrigger("xxQueue",Connection = "AzureWebJobsstorage")]
        xx xxMessage,[DurableClient]IDurableorchestrationClient starter,ILogger log)
    {
       
        string instanceId  = await starter.StartNewAsync("xxOchestration",xxMessage);
     

        
    }

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)