Trouble with Azure Functions Deployment Slot Switching
Hi everyone,
I'm encountering an issue when trying to swap deployment slots for my Azure Function. I have a 'staging' slot and a 'production' slot. When I initiate a swap from staging to production, the swap completes without errors, but the production slot doesn't seem to pick up the new code immediately. It appears to be stuck on the old version for a few minutes, and then it suddenly starts serving the new code.
Is this expected behavior? Or is there a common configuration I might be missing that causes this delay?
Specifically, I'm using a deployment pipeline with Azure DevOps. The function is written in C#.
Any insights would be greatly appreciated!
Thanks,
John