- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有一个带有 QueueTrigger 的 Azure WebJob,该作业一直在运行。现在它的失败消息比例很高。失败将进入有害消息队列,但不会报告其他错误。故障不会出现在 webjobs 仪表板中,输出窗口中不会出现错误。如果我在 Debug模式下本地运行 webjob,同样的事情。所有成功消息都会显示并显示为成功。失败只是鬼魂。他们似乎只是直接走向毒药。所有消息都基于相同的 POCO 类,并且消息本身中没有任何内容看起来格式错误。我过去曾遇到过这个网络作业的问题,但它总是在某个地方显示错误。我找不到任何消息来指引我正确的方向。
更新:我拿走了网络作业并删除了几乎所有代码......只是为了看看会发生什么。它对每条消息都有效。我的代码中现在没有任何 try/catch block 来阻止异常或其他错误的出现。为什么作业会悄无声息地消亡(但只是部分时间)?
最佳答案
我怀疑这可能与此有关:
Do I need to rethink how I write my functions? Overall, no, things work pretty much the same as before, with just one less setting to worry about. The same limits that applied before still apply: 1.5GB max memory and a 5-minute max execution time. The biggest impact that this change has is that you now are assured to be getting the right amount of resources and paying the least amount possible for your function executions.
关于Azure WebJob 悄然终止 - 任何日志中均无任何内容,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36052751/
我是一名优秀的程序员,十分优秀!