Azure function-Timer unscheduledInvocationReason

耗尽温柔 提交于 2021-01-29 09:24:03

问题


I am trying to diagnose this error when my timer function runs. I have not found much help on this on google search

UnscheduledInvocationReason: IsPastDue, OriginalSchedule: 2019-06-13T15:13:00.0000000-07:00

It seems like the process just stops when this error comes.

Anyone have any insight on this?


回答1:


The IsPastDue flag is passed to your azure function to indicate if the timer was overdue or not. A timer function can run late in some scenarios like the app service was restarted, in this case it is still invoked but the IsPastDue flag will be set to true to give your function a chance to react.

These links are helpful

Timer trigger for Azure Functions

Also, it seems that it was an issue and it is submitted on github but that was on 2017

TimerTrigger can miss IsPastDue



来源:https://stackoverflow.com/questions/56589253/azure-function-timer-unscheduledinvocationreason

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!