Last active
December 10, 2018 21:34
-
-
Save grant-killian/ffa1e84770b10a90e2454e241986b911 to your computer and use it in GitHub Desktop.
For tuning data retention rules (beware of the alpha order in which .config files are processed)
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" ?> | |
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> | |
<sitecore> | |
<scheduling> | |
<agent type="Sitecore.Tasks.CleanupEventQueue, Sitecore.Kernel"> | |
<patch:delete /> | |
</agent> | |
<agent type="Sitecore.Tasks.CleanupEventQueue, Sitecore.Kernel" method="Run" interval="01:00:00"> | |
<IntervalToKeep>06:00:00</IntervalToKeep> | |
</agent> | |
<agent type="Sitecore.Tasks.CleanupPublishQueue, Sitecore.Kernel"> | |
<patch:delete /> | |
</agent> | |
<agent type="Sitecore.Tasks.CleanupPublishQueue, Sitecore.Kernel" method="Run" interval="04:00:00"> | |
<DaysToKeep>7</DaysToKeep> | |
</agent> | |
</scheduling> | |
<databases> | |
<database id="master"> | |
<Engines.HistoryEngine.Storage> | |
<patch:delete /> | |
</Engines.HistoryEngine.Storage> | |
<Engines.HistoryEngine.Storage> | |
<obj type="Sitecore.Data.SqlServer.SqlServerHistoryStorage, Sitecore.Kernel"> | |
<param connectionStringName="$(id)" /> | |
<EntryLifeTime>7.00:00:00</EntryLifeTime> | |
</obj> | |
</Engines.HistoryEngine.Storage> | |
</database> | |
<database id="web"> | |
<Engines.HistoryEngine.Storage> | |
<patch:delete /> | |
</Engines.HistoryEngine.Storage> | |
<Engines.HistoryEngine.Storage> | |
<obj type="Sitecore.Data.SqlServer.SqlServerHistoryStorage, Sitecore.Kernel"> | |
<param connectionStringName="$(id)" /> | |
<EntryLifeTime>7.00:00:00</EntryLifeTime> | |
</obj> | |
</Engines.HistoryEngine.Storage> | |
</database> | |
</databases> | |
</sitecore> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment