Log in
Model

OrderLimitConfigManager

Magento\Quote\Model\Backpressure\OrderLimitConfigManager

What it does

This class manages backpressure (rate limiting) configuration for order placement in Magento 2.

Developers use it to control how many orders can be placed within a specific time period, with different limits for authenticated customers, admins, and guest users based on IP address.

It helps prevent order spam and system abuse by reading store configuration values for enforcement status, order limits, and time windows.

Public Methods

  • readLimit()
  • isEnforcementEnabled()