Skip to content

Commit dfc4f8b

Browse files
committed
MC-33275: Stale cache implementation
1 parent becbf3d commit dfc4f8b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

app/etc/di.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1789,6 +1789,13 @@
17891789
<argument name="locker" xsi:type="object">Magento\Framework\Lock\Backend\Cache</argument>
17901790
</arguments>
17911791
</type>
1792+
<type name="Magento\Framework\Cache\CompositeStaleCacheNotifier">
1793+
<arguments>
1794+
<argument name="notifiers" xsi:type="array">
1795+
<item name="runtime_cache_modifier" xsi:type="object">Magento\Framework\App\Cache\RuntimeStaleCacheStateModifier</item>
1796+
</argument>
1797+
</arguments>
1798+
</type>
17921799
<preference for="Magento\Framework\HTTP\AsyncClientInterface" type="Magento\Framework\HTTP\AsyncClient\GuzzleAsyncClient" />
17931800
<preference for="Magento\Framework\MessageQueue\PoisonPill\PoisonPillCompareInterface" type="Magento\Framework\MessageQueue\PoisonPill\PoisonPillCompare"/>
17941801
<preference for="Magento\Framework\MessageQueue\PoisonPill\PoisonPillPutInterface" type="Magento\Framework\MessageQueue\PoisonPill\PoisonPillPut"/>

0 commit comments

Comments
 (0)