Revert "Add graceful stop environment variable"

This reverts commit f1fca03fd1.

This needs more discussion.

Change-Id: Iebf5c01e4436899a9d6e37150337dcdb4cf9705f
This commit is contained in:
James E. Blair
2021-07-09 10:25:32 -07:00
parent 0e43823138
commit 657d8c6fb2
3 changed files with 1 additions and 18 deletions

View File

@@ -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()