diff --git a/src/Orchard.Azure/Orchard.Azure.CloudService/Orchard.Azure.WebContent/Bin/Startup/ConfigureIIS.cmd b/src/Orchard.Azure/Orchard.Azure.CloudService/Orchard.Azure.WebContent/Bin/Startup/ConfigureIIS.cmd new file mode 100644 index 000000000..2128c2a8d --- /dev/null +++ b/src/Orchard.Azure/Orchard.Azure.CloudService/Orchard.Azure.WebContent/Bin/Startup/ConfigureIIS.cmd @@ -0,0 +1,5 @@ +REM Check if this task is running on the compute emulator, if not then sets the Idle Timeout to zero + +IF "%ComputeEmulatorRunning%" == "false" ( + %windir%\system32\inetsrv\appcmd set config -section:applicationPools -applicationPoolDefaults.processModel.idleTimeout:00:00:00 +) \ No newline at end of file