projects
/
opensrf
/
bjwebb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f746d46
)
Typos: s/wait_for_child/try_wait_child/ and s/min_childen/min_children/
author
dbs
<dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 9 Nov 2010 14:59:21 +0000
(14:59 +0000)
committer
dbs
<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
patch
|
blob
|
history
diff --git
a/src/python/osrf/server.py
b/src/python/osrf/server.py
index
261688e
..
97b4114
100644
(file)
--- 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_child
r
en = 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()