Skip to content

Commit b24cc59

Browse files
author
Stanislav Idolov
authored
Merge pull request #2744 from magento-engcom/session_proxy
[EngCom] Postpone instantiation of session config by using a proxy #15929
2 parents b2dd5ef + 9ea2ef4 commit b24cc59

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
@@ -233,6 +233,11 @@
233233
<argument name="pathInfoProcessor" xsi:type="object">Magento\Backend\App\Request\PathInfoProcessor\Proxy</argument>
234234
</arguments>
235235
</type>
236+
<type name="Magento\Framework\App\Response\Http">
237+
<arguments>
238+
<argument name="sessionConfig" xsi:type="object">Magento\Framework\Session\Config\ConfigInterface\Proxy</argument>
239+
</arguments>
240+
</type>
236241
<preference for="Magento\Framework\Session\SaveHandlerInterface" type="Magento\Framework\Session\SaveHandler" />
237242
<type name="Magento\Framework\Session\SaveHandlerFactory">
238243
<arguments>

0 commit comments

Comments
 (0)