Typos: s/wait_for_child/try_wait_child/ and s/min_childen/min_children/
authordbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 9 Nov 2010 14:59:21 +0000 (14:59 +0000)
committerdbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 9 Nov 2010 14:59:21 +0000 (14:59 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2065 9efc2488-bf62-4759-914b-345cdb29e865

src/python/osrf/server.py

index 261688e..97b4114 100644 (file)
@@ -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()