init
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
-->
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
|
||||
<preference for="Magento\TestModuleWebapiBackpressure\Api\TestReadServiceInterface"
|
||||
type="Magento\TestModuleWebapiBackpressure\Model\TestReadService" />
|
||||
<type name="Magento\Framework\Webapi\Backpressure\CompositeRequestTypeExtractor">
|
||||
<arguments>
|
||||
<argument name="extractors" xsi:type="array">
|
||||
<item name="webapitestbackpressure" xsi:type="object">
|
||||
Magento\TestModuleWebapiBackpressure\Model\TypeExtractor
|
||||
</item>
|
||||
</argument>
|
||||
</arguments>
|
||||
</type>
|
||||
<type name="Magento\Framework\App\Backpressure\SlidingWindow\CompositeLimitConfigManager">
|
||||
<arguments>
|
||||
<argument name="configs" xsi:type="array">
|
||||
<item name="testwebapibackpressure" xsi:type="object">
|
||||
Magento\TestModuleWebapiBackpressure\Model\LimitConfigManager
|
||||
</item>
|
||||
</argument>
|
||||
</arguments>
|
||||
</type>
|
||||
</config>
|
||||
Reference in New Issue
Block a user