LGTM

On Thu, Mar 6, 2014 at 2:37 PM, Klaus Aehlig <[email protected]> wrote:

> ...as this function sets up a much richer context than just
> the job queue, including the current lock management.
>
> Signed-off-by: Klaus Aehlig <[email protected]>
> ---
>  lib/server/masterd.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/lib/server/masterd.py b/lib/server/masterd.py
> index a67c3a8..b008cb3 100644
> --- a/lib/server/masterd.py
> +++ b/lib/server/masterd.py
> @@ -238,7 +238,7 @@ class MasterServer(daemon.AsyncStreamServer):
>      # maximum number to avoid breaking for lack of file descriptors or
> memory.
>      MasterClientHandler(self, connected_socket, client_address,
> self.family)
>
> -  def setup_queue(self):
> +  def setup_context(self):
>      self.context = GanetiContext()
>      self.request_workers = workerpool.WorkerPool("ClientReq",
>                                                   CLIENT_REQUEST_WORKERS,
> @@ -724,7 +724,7 @@ def ExecMasterd(options, args, prep_data): # pylint:
> disable=W0613
>    try:
>      rpc.Init()
>      try:
> -      master.setup_queue()
> +      master.setup_context()
>        try:
>          mainloop.Run(shutdown_wait_fn=master.WaitForShutdown)
>        finally:
> --
> 1.9.0.279.gdc9e3eb
>
>

Reply via email to