Azure函数计时器未计划的调用原因 [英] Azure function-Timer unscheduledInvocationReason

查看:54
本文介绍了Azure函数计时器未计划的调用原因的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试运行计时器功能时诊断此错误.我在Google搜索上没有找到太多帮助

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

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?

推荐答案

IsPastDue标志传递给您的azure函数,以指示计时器是否过期.计时器功能在某些情况下可能会延迟运行,例如重新启动应用程序服务,在这种情况下,计时器功能仍会被调用,但是IsPastDue标志将设置为true,以使您的功能有机会做出反应.

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.

这些链接很有帮助

Azure Functions的计时器触发器

而且,这似乎是一个问题,已在github上提交,但那是在2017年

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

TimerTrigger可能会错过IsPastDue

这篇关于Azure函数计时器未计划的调用原因的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆