Files
stemcell/dev/tests/integration/_files/Magento/TestModuleGraphQlBackpressure/Model/LimitConfigManager.php
T
2026-09-15 10:26:34 +08:00

25 lines
618 B
PHP

<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Magento\TestModuleGraphQlBackpressure\Model;
use Magento\Framework\App\Backpressure\ContextInterface;
use Magento\Framework\App\Backpressure\SlidingWindow\LimitConfig;
use Magento\Framework\App\Backpressure\SlidingWindow\LimitConfigManagerInterface;
class LimitConfigManager implements LimitConfigManagerInterface
{
/**
* @inheritDoc
*/
public function readLimit(ContextInterface $context): LimitConfig
{
return new LimitConfig(2, 60);
}
}