Created
February 15, 2020 05:27
-
-
Save klpatil/0b395c5cf46a8ff5f04118ea49f05546 to your computer and use it in GitHub Desktop.
REDISTimeout 9.3 Configurations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:role="http://www.sitecore.net/xmlconfig/role/" xmlns:set="http://www.sitecore.net/xmlconfig/"> | |
<sitecore> | |
<tracking> | |
<sharedSessionState> | |
<config type="Sitecore.Analytics.Tracking.SharedSessionState.SharedSessionStateConfig, Sitecore.Analytics"> | |
<param desc="timeoutBetweenLockAttempts">200</param> | |
</config> | |
</sharedSessionState> | |
</tracking> | |
</sitecore> | |
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:set="http://www.sitecore.net/xmlconfig/set/" xmlns:role="http://www.sitecore.net/xmlconfig/role/"> | |
<sitecore role:require="ContentDelivery"> | |
<settings> | |
<setting name="SessionExpirationThreadCount"> | |
<patch:attribute name="value">2</patch:attribute> | |
</setting> | |
</settings> | |
</sitecore> | |
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<!--https://kb.sitecore.net/articles/464570--> | |
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:set="http://www.sitecore.net/xmlconfig/set/" xmlns:role="http://www.sitecore.net/xmlconfig/role/"> | |
<sitecore role:require="ContentDelivery"> | |
<tracking> | |
<sharedSessionState defaultProvider="redis"> | |
<providers> | |
<clear /> | |
<add name="redis" type="Sitecore.SessionProvider.Redis.RedisSessionStateProvider" | |
connectionString="redis.sessions" applicationName="shared" pollingInterval="60" operationTimeoutInMilliseconds="5000" | |
retryTimeoutInMilliseconds="5000" connectionTimeoutInmilliseconds="1000"/> | |
</providers> | |
</sharedSessionState> | |
</tracking> | |
</sitecore> | |
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1"> | |
<system.webServer> | |
<system.web> | |
<sessionState> | |
<providers> | |
<add name="redis" xdt:Locator="Match(name)" operationTimeoutInMilliseconds="5000" retryTimeoutInMilliseconds="5000" | |
connectionTimeoutInmilliseconds="1000" pollingInterval="60" | |
xdt:Transform="SetAttributes(operationTimeoutInMilliseconds,retryTimeoutInMilliseconds,connectionTimeoutInmilliseconds,pollingInterval)" /> | |
</providers> | |
</sessionState> | |
<httpRuntime executionTimeout="110" xdt:Transform="Replace" /> | |
</system.web> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment