Browse Source

Merge remote-tracking branch 'remotes/origin/peng' into test

Ansjer 2 years ago
parent
commit
b14c3f4d66
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Object/FunboostFrameWork/funboost_task.py

+ 2 - 0
Object/FunboostFrameWork/funboost_task.py

@@ -1,6 +1,8 @@
 import time
 from funboost import boost, BrokerEnum, run_forever, funboost_aps_scheduler
 from Ansjer.config import LOGGER
+from Model.models import Device_Info
+
 
 @boost("task_queue_name1", qps=0.5, broker_kind=BrokerEnum.REDIS_ACK_ABLE)  # 入参包括20种,运行控制方式非常多,想得到的控制都会有。
 def task_fun(x, y):