From: dbs Date: Tue, 9 Nov 2010 14:59:21 +0000 (+0000) Subject: Typos: s/wait_for_child/try_wait_child/ and s/min_childen/min_children/ X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4055a910a82ba12507db733201b425683ac90342;p=opensrf%2Fbjwebb.git Typos: s/wait_for_child/try_wait_child/ and s/min_childen/min_children/ git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2065 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/python/osrf/server.py b/src/python/osrf/server.py index 261688e..97b4114 100644 --- a/src/python/osrf/server.py +++ b/src/python/osrf/server.py @@ -35,7 +35,7 @@ class Controller(object): self.service = service # service name self.max_requests = 0 # max child requests self.max_children = 0 # max num of child processes - self.min_childen = 0 # min num of child processes + self.min_children = 0 # min num of child processes self.num_children = 0 # current num children self.osrf_handle = None # xmpp handle self.routers = [] # list of registered routers @@ -114,7 +114,7 @@ class Controller(object): if self.try_new_child(data): continue - self.wait_for_child() + self.try_wait_child() except KeyboardInterrupt: self.cleanup()