Using Single fcnMode in Release builds (Lombiq Technologies: ORCH-207), fixes #6942

This commit is contained in:
Zoltán Lehóczky
2019-05-31 15:49:53 +02:00
committed by Benedek Farkas
parent 21f5d33402
commit 744f8880ff

View File

@@ -8,6 +8,15 @@
<compilation xdt:Transform="RemoveAttributes(debug)" />
<customErrors mode="RemoteOnly" xdt:Transform="SetAttributes(mode)" />
<machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" xdt:Transform="SetAttributes(validationKey,decryptionKey)" />
<!--
Configures File Change Notifications to have a single monitor object unlike the default config which creates
one for each subdirectory. This is supposed to lower resources usage and work equally well unless the
application has too many folders (this may happen if you have a lot of tenants and Media folders for example).
"Disabled" can get rid of all file watching but may cause issues.
For more information see https://shazwazza.com/post/all-about-aspnet-file-change-notification-fcn/ and
https://github.com/OrchardCMS/Orchard/issues/6942.
-->
<httpRuntime fcnMode="Single" xdt:Transform="SetAttributes(fcnMode)" />
</system.web>
<glimpse xdt:Transform="SetAttributes(defaultRuntimePolicy)" defaultRuntimePolicy="Off" />