Skip to content

Commit cbb67e2

Browse files
ENGCOM-2078: Postpone instantiation of session config by using a proxy #15929
- Merge Pull Request #15929 from fmarangi/magento2:15205-init-session-config - Merged commits: 1. d23c198 2. b0b82d0 3. 7e835c3
2 parents f38cc97 + 7e835c3 commit cbb67e2

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)