##// END OF EJS Templates
Changed the INT then KILL delay to 2 s to be a little more friendly.
Brian Granger -
Show More
@@ -64,7 +64,8 b' get_task_client = _client_tub.get_task_client'
64 64 MultiEngineClient = get_multiengine_client
65 65 TaskClient = get_task_client
66 66
67 twisted_log = StringIO()
67 # This isn't great. I should probably set this up in the ReactorInThread
68 # class below. But, it does work for now.
68 69 log.startLogging(sys.stdout, setStdout=0)
69 70
70 71 # Now we start the reactor in a thread
@@ -245,7 +245,7 b' class LocalProcessLauncher(BaseLauncher):'
245 245 self.process_transport.signalProcess(sig)
246 246
247 247 @inlineCallbacks
248 def interrupt_then_kill(self, delay=1.0):
248 def interrupt_then_kill(self, delay=2.0):
249 249 yield self.signal('INT')
250 250 yield sleep_deferred(delay)
251 251 yield self.signal('KILL')
General Comments 0
You need to be logged in to leave comments. Login now