コード例 #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
ファイル: gunicorn.py プロジェクト: LiuFang816/SALSTM_py_data
 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
ファイル: gunicorn.py プロジェクト: cs91chris/flask_autocrud
    def run(self):
        """

        """
        WSGIServer.run(self)
コード例 #4
0
ファイル: gunicorn.py プロジェクト: WangLaoK/knowledge-repo
 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
ファイル: server.py プロジェクト: crowleyfelix/hash-challenge
 def execute(self):
     GunicornBaseEngine.run(self)
コード例 #6
0
ファイル: gunicorn.py プロジェクト: cs91chris/flaskel
 def run(self):
     WSGIServer.run(self)