Ejemplo n.º 1
0
 def load(self):
     """
     Returns the loaded server
     """
     server = Server(manager=self.manager,
                     broker=self.broker,
                     housekeeper=self.housekeeper)
     return server.app
Ejemplo n.º 2
0
 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
Ejemplo n.º 3
0
 def load(self):
     server = Server()
     return server.app
Ejemplo n.º 4
0
 def load(self):
     """
     Returns the loaded server
     """
     server = Server()
     return server.app