Skip to content

Commit de5e007

Browse files
author
Stanislav Idolov
authored
ENGCOM-2078: Postpone instantiation of session config by using a proxy #15929
2 parents cba3423 + cbb67e2 commit de5e007

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

0 commit comments

Comments
 (0)