Azure Function Application warm up state

1.2k Views Asked by At

I am currently using multiple azure function app instances, with the "apiVersion": "2015-08-01" . Currently I dont use any warmup triggers and only few functions stay always in "warmup" state, even when restart the application is goes to warmup state very soon ,anyone with the same experience and found a solution ?

ARM Template

{
  "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": [
      
      ]
    }
  }

Starter

[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

0

There are 0 best solutions below