Revert "Add graceful stop environment variable"
This reverts commit f1fca03fd1.
This needs more discussion.
Change-Id: Iebf5c01e4436899a9d6e37150337dcdb4cf9705f
This commit is contained in:
@@ -44,11 +44,7 @@ class Executor(zuul.cmd.ZuulDaemonApp):
|
||||
self.args.nodaemon = True
|
||||
|
||||
def exit_handler(self, signum, frame):
|
||||
graceful = os.environ.get('ZUUL_EXECUTOR_SIGTERM_METHOD', 'stop')
|
||||
if graceful.lower() == 'graceful':
|
||||
self.executor.graceful()
|
||||
else:
|
||||
self.executor.stop()
|
||||
self.executor.stop()
|
||||
|
||||
def start_log_streamer(self):
|
||||
pipe_read, pipe_write = os.pipe()
|
||||
|
||||
Reference in New Issue
Block a user