TransportWebHook::getCountLimiter

  1. Bitrix24 API (v. 23.675.0)
  2. sender
  3. TransportWebHook
  4. getCountLimiter
  • Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/integration/sender/webhook/transportwebhook.php
  • Класс: Bitrix\Sender\Integration\Sender\WebHook\TransportWebHook
  • Вызов: TransportWebHook::getCountLimiter
protected function getCountLimiter()
{
	if ($this->limiter === null)
	{
		$this->limiter = Transport\CountLimiter::create()
			->withName('web_hook')
			->withLimit(5000)
			->withUnit("1 " . Transport\iLimiter::DAYS)
			->withUnitName(Loc::getMessage('SENDER_INTEGRATION_WEBHOOK_TRANSPORT_LIMIT_PER_DAY'));
	}

	return $this->limiter;
}

Добавить комментарий