Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
IIS -> .NET 编译 -> 批处理 -> 超时的最大值是多少?
我需要将其设置为最大值以避免在超时期限内无法完成编译,编译器将当前页面恢复为单编译模式。
内部最大值为 2147483647(32 位有符号整数)。在 IIS 的 UI 中,您必须将值指定为 hh:mm:ss,因此类似于:596523 小时或 68 年。
我认为即使您的站点超过 15 分钟的默认值,您的应用程序也会出现问题。
顺便说一句,要找到这个值,打开:
%systemroot%\System32\inetsrv\config\schema\ASPNET_schema.xml
并搜索batchTimeout
batchTimeout