我正尝试在Azure Kudu诊断控制台中运行此PS脚本,进程将在58分钟内终止。有人知道为什么吗?
我已经研究了kudu代码,没有发现Kudu的任何限制。
$count = 3600 + 120;
$index = 0;
Write-Output "Starting timeout test. Test will run for $count seconds."
while ($count -gt $index) {
Start-Sleep -Seconds 1
$index = $index + 1;
Write-Output "$index seconds passed now ..."
}
Write-Output "Completed without timeout after $index seconds!"

发布于 2019-09-06 13:34:26
就像预期的那样,
但是,这还没有文档,所以在kudu git中留下了一个bug来修复文档https://github.com/projectkudu/kudu/issues/3025。
发布于 2019-09-05 20:48:57
默认情况下,SCM超时为20分钟。但是你可以通过设置:**WEBSITE_SCM_IDLE_TIMEOUT_IN_MINUTES=30**来增加它。
请注意,如果您还在使用Always On功能,则不需要此功能。
https://stackoverflow.com/questions/57804693
复制相似问题