liqian %!s(int64=3) %!d(string=hai) anos
pai
achega
9cc356c32b
Modificáronse 1 ficheiros con 1 adicións e 6 borrados
  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__)