yandextank/api/apiworker.py
def __graceful_shutdown(self):
        """ call shutdown routines """
        retcode = 1
        self.log.info("Trying to shutdown gracefully...")
        retcode = self.core.plugins_end_test(retcode)
        retcode = self.core.plugins_post_process(retcode)
        self.log.info("Done graceful shutdown")
        return retcode
def __graceful_shutdown(self):
        """ call shutdown routines """
        retcode = 1
        self.log.info("Trying to shutdown gracefully...")
        retcode = self.core.plugins_end_test(retcode)
        retcode = self.core.plugins_post_process(retcode)
        self.log.info("Done graceful shutdown")
        return retcode
def __graceful_shutdown ( self ) : retcode = 1 self . log . info ( "Trying to shutdown gracefully..." ) retcode = self . core . plugins_end_test ( retcode ) retcode = self . core . plugins_post_process ( retcode ) self . log . info ( "Done graceful shutdown" ) return retcode
call shutdown routines
call shutdown routines