Skip to content

Commit 4027689

Browse files
author
Stanislav Idolov
authored
ENGCOM-2125: [Forwardport] Postpone instantiation of session config by using a proxy #16046
2 parents faf12d7 + 52d10d3 commit 4027689

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/etc/di.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,11 @@
279279
<argument name="pathInfoProcessor" xsi:type="object">Magento\Backend\App\Request\PathInfoProcessor\Proxy</argument>
280280
</arguments>
281281
</type>
282+
<type name="Magento\Framework\App\Response\Http">
283+
<arguments>
284+
<argument name="sessionConfig" xsi:type="object">Magento\Framework\Session\Config\ConfigInterface\Proxy</argument>
285+
</arguments>
286+
</type>
282287
<preference for="Magento\Framework\Session\SaveHandlerInterface" type="Magento\Framework\Session\SaveHandler" />
283288
<type name="Magento\Framework\Session\SaveHandlerFactory">
284289
<arguments>

0 commit comments

Comments
 (0)