<?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:module:Magento_Config:etc/system_file.xsd">

    <system>
        <section id="cataloginventory">
            <group id="bulk_operations" translate="label" type="text" sortOrder="600" showInDefault="1"
                   showInWebsite="1" showInStore="1">
                <label>Admin bulk operations</label>
                <field id="async" translate="label" type="select" sortOrder="10" showInDefault="1" showInWebsite="0"
                       showInStore="0" canRestore="1">
                    <label>Run asynchronously</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <comment>An asynchronous queue manager must be configured</comment>
                </field>
                <field id="batch_size" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="0"
                       showInStore="0" canRestore="1">
                    <label>Asynchronous batch size</label>
                    <depends>
                        <field id="async">1</field>
                    </depends>
                </field>
            </group>
        </section>
    </system>
</config>
