Skip to content

Commit

Permalink
🐛 fix: prevent adapter from connecting to es
Browse files Browse the repository at this point in the history
  • Loading branch information
gowrizrh committed Mar 18, 2024
1 parent 663a53b commit 8b64f16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@

<type name="\Aligent\AsyncEvents\Model\Indexer\IndexStructure">
<arguments>
<argument name="adapter" xsi:type="object">\Magento\Elasticsearch\Model\Adapter\Elasticsearch\Proxy</argument>
<argument name="scopeResolver" xsi:type="object" shared="false">\Aligent\AsyncEvents\Model\Resolver\AsyncEvent</argument>
</arguments>
</type>
Expand Down Expand Up @@ -138,7 +139,7 @@
</arguments>
</virtualType>

<virtualType name="dataMapperAdapter" type="Magento\Elasticsearch\Model\Adapter\Elasticsearch">
<virtualType name="dataMapperAdapter" type="Magento\Elasticsearch\Model\Adapter\Elasticsearch\Proxy">
<arguments>
<argument name="batchDocumentDataMapper" xsi:type="object">\Aligent\AsyncEvents\Model\Adapter\BatchDataMapper\AsyncEventLogMapper</argument>
</arguments>
Expand Down

0 comments on commit 8b64f16

Please sign in to comment.