liqian 3 年之前
父节点
当前提交
9cc356c32b
共有 1 个文件被更改,包括 1 次插入6 次删除
  1. 1 6
      app.py

+ 1 - 6
app.py

@@ -1,9 +1,3 @@
-# 导入skywalking链路监控
-from skywalking import agent, config
-config.init(collector='skywalking.piaoquantv.com:11800', service='rov-server')
-config.flask_collect_http_params = True
-agent.start()
-
 import json
 import time
 
@@ -21,6 +15,7 @@ from multiprocessing import cpu_count, Process
 from utils import update_video_w_h_rate
 # from werkzeug.middleware.profiler import ProfilerMiddleware
 from gevent import monkey
+
 monkey.patch_all()
 
 app = Flask(__name__)