[PATCH] round robin: optimize loop in ngx_http_upstream_init_round_robin()
Maxim Dounin
mdounin at mdounin.ru
Mon Oct 21 14:39:02 UTC 2013
Hello!
On Mon, Oct 21, 2013 at 07:15:48PM +0800, Xiaochen Wang wrote:
> # HG changeset patch
> # User Xiaochen Wang <wangxiaochen0 at gmail.com>
> # Date 1382350832 -28800
> # Node ID b61b9d7d665fffd49fb6711db4d018a6aeb26222
> # Parent fcecb9c6a0573f2edd48ff87cef69bd7e7523729
> round robin: optimize loop in ngx_http_upstream_init_round_robin()
>
> It is a trivial patch to move continue statement from inner loop to outer loop.
[...]
Committed with minor changes to description, thanks.
--
Maxim Dounin
http://nginx.org/en/donation.html
More information about the nginx-devel
mailing list