Browse Source

accident shutdown prevention

ming 4 năm trước cách đây
mục cha
commit
d981d512ac
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      api/main.py

+ 2 - 2
api/main.py

@@ -83,7 +83,7 @@ video_dest = '/var/www/html/'+video_sub_folder
 avatar_dest = '/var/www/html/'+avatar_sub_folder
 pttx_dest = '/var/www/html/'+pttx_sub_folder
 
-clear_video_queue()
+
 
 # @app.get("/index2")
 # async def index2():
@@ -1022,5 +1022,5 @@ def clear_video_queue():
     x3 = threading.Thread(target=gen_video_long_queue, args=('keepRunning','', '', '','','','',''))
     x3.start()
 
-
+clear_video_queue()