Skip to content

Commit

Permalink
Merge pull request #18 from cerxun/cerxun
Browse files Browse the repository at this point in the history
Add HTTP::DEBUG_NONE
  • Loading branch information
andrey-tech authored Aug 5, 2024
2 parents dded740 + e60222a commit d43f583
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1052,6 +1052,11 @@ try {
// Устанавливаем максимальный уровень вывода отладочных сообщений в STDOUT
$bx24->http->debugLevel = HTTP::DEBUG_URL | HTTP::DEBUG_HEADERS | HTTP::DEBUG_CONTENT;

// ИЛИ
// убираем вывод отладочных сообщений в случае необходимости.
// Раскомментируем строчку нижи И закоментируем рабочую строчку выше
// $bx24->http->debugLevel = HTTP::DEBUG_NONE;

// Устанавливаем троттлинг запросов на уровне не более 1 запроса в 2 секунды
$bx24->http->throttle = 0.5;

Expand Down

0 comments on commit d43f583

Please sign in to comment.