我的理解是,要求 IIS 中的 AppPool 进行回收将使当前活动的请求在被回收请求异常终止之前 90 秒内完成,同时不再接受新请求。要求 AppPool 停止怎么样?它是否也有相同的降速政策?
如果重要,我将通过以下方式停止 AppPool:
appcmd.exe stop apppool /apppool.name:"theAppPoolName"
iis web-hosting application-pools appcmd
appcmd ×1
application-pools ×1
iis ×1
web-hosting ×1