: Fixing condition to run custom configuration on Azure Cloud Services

Work Item: 19140

--HG--
branch : 1.x
This commit is contained in:
Sebastien Ros 2012-10-22 16:34:06 -07:00
parent 9e16f5d8e3
commit 293288928c

View File

@ -1,5 +1,5 @@
REM Check if this task is running on the compute emulator, if not then sets the Idle Timeout to zero REM Check if this task is running on the compute emulator, if not then sets the Idle Timeout to zero
IF "%ComputeEmulatorRunning%" == "true" ( IF "%ComputeEmulatorRunning%" == "false" (
%windir%\system32\inetsrv\appcmd set config -section:applicationPools -applicationPoolDefaults.processModel.idleTimeout:00:00:00 %windir%\system32\inetsrv\appcmd set config -section:applicationPools -applicationPoolDefaults.processModel.idleTimeout:00:00:00
) )