Azure WebJob Command Timeout

℡╲_俬逩灬. 提交于 2019-11-30 11:34:28
Amit Apple

For triggered WebJobs the way to increase idle timeout is using the app setting: WEBJOBS_IDLE_TIMEOUT. Set it to your desired timeout in seconds.

The error is confusing and only refers to idle timeout during deployment.

https://github.com/projectkudu/kudu/wiki/Web-jobs#configuration-settings

This seems to have solved my problem:

if (Counter % 25 == 0)
   Console.WriteLine("Heartbeat");

I guess you have to keep writing out to console to keep the JOB running.

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