Пример #1
0
 def run(self):
     if not self.app.check_thread_support():
         raise RuntimeError(
             "Database configuration is not suitable for deployment (not thread-safe)."
         )
     self.app.start_indexing()
     return BaseApplication.run(self)
Пример #2
0
 def run(self):
     if not self.app.supports_threads:
         raise RuntimeError(
             "Database configuration is not suitable for deployment (not thread-safe)."
         )
     return BaseApplication.run(self)
Пример #3
0
    def run(self):
        """

        """
        WSGIServer.run(self)
Пример #4
0
 def run(self):
     if not self.app.check_thread_support():
         raise RuntimeError("Database configuration is not suitable for deployment (not thread-safe).")
     return BaseApplication.run(self)
Пример #5
0
 def execute(self):
     GunicornBaseEngine.run(self)
Пример #6
0
 def run(self):
     WSGIServer.run(self)