Cleaning up some ampoule outputs.
This commit is contained in:
parent
2481a9b493
commit
d5c1d35406
2 changed files with 1 additions and 5 deletions
|
|
@ -11,7 +11,6 @@ class AMPChild(amp.AMP):
|
|||
def connectionLost(self, reason):
|
||||
amp.AMP.connectionLost(self, reason)
|
||||
from twisted.internet import reactor
|
||||
print "connectionLost called", reason
|
||||
try:
|
||||
reactor.stop()
|
||||
except error.ReactorNotRunning:
|
||||
|
|
@ -29,9 +28,6 @@ class AMPChild(amp.AMP):
|
|||
import os
|
||||
os._exit(-1)
|
||||
|
||||
def processEnded(self, *args, **kwargs):
|
||||
print "processEnded called", args, kwargs
|
||||
|
||||
def shutdown(self):
|
||||
"""
|
||||
This method is needed to shutdown the child gently without
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@ class ProcessPool(object):
|
|||
Adds the newly created child process to the pool.
|
||||
"""
|
||||
def restart(child, reason):
|
||||
log.msg("FATAL: Restarting after %s" % (reason,))
|
||||
#log.msg("FATAL: Restarting after %s" % (reason,))
|
||||
self._pruneProcess(child)
|
||||
return self.startAWorker()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue