File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -7180,6 +7180,9 @@ Returns the ordinal number of the current Nginx worker processes (starting from
71807180So if the total number of workers is ` N ` , then this method may return a number between 0
71817181and ` N - 1 ` (inclusive).
71827182
7183+ This function returns meaningful values only for NGINX 1.9.1+. With earlier versions of NGINX, it
7184+ always returns ` nil ` .
7185+
71837186See also [ ngx.worker.count] ( #ngxworkercount ) .
71847187
71857188This API was first introduced in the ` 0.9.20 ` release.
Original file line number Diff line number Diff line change @@ -6074,6 +6074,9 @@ Returns the ordinal number of the current Nginx worker processes (starting from
60746074So if the total number of workers is `N`, then this method may return a number between 0
60756075and `N - 1` (inclusive).
60766076
6077+ This function returns meaningful values only for NGINX 1.9.1+. With earlier versions of NGINX, it
6078+ always returns `nil`.
6079+
60776080See also [[#ngx.worker.count |ngx.worker.count ]].
60786081
60796082This API was first introduced in the <code>0.9.20 </code> release.
You can’t perform that action at this time.
0 commit comments