2.19 判断是否招标文件
This commit is contained in:
parent
4b378b27c2
commit
07725ac868
@ -16,7 +16,7 @@ from flask_app.routes.test_preprocess import test_process_bp
|
||||
def create_app():
|
||||
# 创建全局日志记录器
|
||||
app = Flask(__name__)
|
||||
app.process_pool = Pool(processes=10, maxtasksperchild=3)
|
||||
app.process_pool = Pool(processes=10, maxtasksperchild=1)
|
||||
app.global_logger = create_logger_main('model_log') # 全局日志记录器
|
||||
# 注册蓝图
|
||||
app.register_blueprint(get_deviation_bp)
|
||||
@ -49,4 +49,4 @@ def create_app():
|
||||
|
||||
if __name__ == '__main__':
|
||||
app = create_app()
|
||||
app.run(debug=True, host='0.0.0.0', port=5000)
|
||||
app.run(debug=False, host='0.0.0.0', port=5000)
|
||||
|
Loading…
x
Reference in New Issue
Block a user