def load(self): """ Returns the loaded server """ server = Server(manager=self.manager, broker=self.broker, housekeeper=self.housekeeper) return server.app
def load(self): """ Returns the loaded server """ if self.server is None: try: self.server = Server(augur_app=self.augur_app) except Exception as e: logger.error( f"An error occured when Gunicorn tried to load the server: {e}" ) return self.server.app
def load(self): server = Server() return server.app
def load(self): """ Returns the loaded server """ server = Server() return server.app