# HG changeset patch # User Ruslan Ermilov # Date 1358332269 -14400 # Node ID c711c50bdcf4fc026f28625a6d42fb1adb1b3716 # Parent ed29fd8be462a310696ab988898e6664cbf5a20c limit_req: clarified the description of the burst= parameter. diff --git a/xml/en/docs/http/ngx_http_limit_req_module.xml b/xml/en/docs/http/ngx_http_limit_req_module.xml --- a/xml/en/docs/http/ngx_http_limit_req_module.xml +++ b/xml/en/docs/http/ngx_http_limit_req_module.xml @@ -10,7 +10,7 @@ + rev="2">
@@ -61,15 +61,15 @@ http { Sets a shared memory zone -and the maximum allowed burst of requests. +and the maximum burst size of requests. If the rate of requests exceeds the rate configured for a zone, -request processing is delayed such as that they are processed +their processing is delayed such that requests are processed at a defined rate. Excessive requests are delayed until their number exceeds the -defined number of bursts. -When exceeded, the request is terminated with an error +maximum burst size +in which case the request is terminated with an error . -By default, the number of bursts is equal to zero. +By default, the maximum burst size is equal to zero. For example, the directives limit_req_zone $binary_remote_addr zone=one:10m rate=1r/s; diff --git a/xml/ru/docs/http/ngx_http_limit_req_module.xml b/xml/ru/docs/http/ngx_http_limit_req_module.xml --- a/xml/ru/docs/http/ngx_http_limit_req_module.xml +++ b/xml/ru/docs/http/ngx_http_limit_req_module.xml @@ -10,7 +10,7 @@ + rev="2">
@@ -61,15 +61,15 @@ http { Задаёт зону разделяемой памяти (zone) -и максимально возможные всплески запросов (burst). +и максимальный размер всплеска запросов (burst). Если скорость поступления запросов превышает описанную в зоне, то их обработка задерживается так, чтобы запросы обрабатывались с заданной скоростью. Избыточные запросы задерживаются до тех пор, пока их число -не превысит заданное число всплесков. +не превысит максимальный размер всплеска. При превышении запрос завершается с ошибкой . -По умолчанию число всплесков равно нулю. +По умолчанию максимальный размер всплеска равен нулю. Например, директивы limit_req_zone $binary_remote_addr zone=one:10m rate=1r/s;