• Модуль: pull
  • Путь к файлу: ~/bitrix/modules/pull/lib/config.php
  • Класс: BitrixPullConfig
  • Вызов: Config::isProtobufUsed
static function isProtobufUsed()
{
	$result =
		CPullOptions::IsServerShared() ||
		(
			CPullOptions::GetQueueServerVersion() == 4 &&
			CPullOptions::IsProtobufSupported() &&
			CPullOptions::IsProtobufEnabled()
		);

	return $result;
}