tanghongbin 4 лет назад
Родитель
Сommit
b047768419
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      Controller/DetectController.py

+ 3 - 3
Controller/DetectController.py

@@ -115,9 +115,9 @@ class NotificationView(View):
                 return JsonResponse(status=200, data=res_data)
 
             # 此时应该更新一下redis里面的dkey的有效时间
-            detect_interval = redis_list[0]['uid_set__detect_interval']
-            tmp_channel = redis_list[0]['uid_set__channel']
-            self.do_update_detect_interval(uid, tmp_channel, redisObj, detect_interval)
+            # detect_interval = redis_list[0]['uid_set__detect_interval']
+            # tmp_channel = redis_list[0]['uid_set__channel']
+            # self.do_update_detect_interval(uid, tmp_channel, redisObj, detect_interval)
 
         if not redis_list:
             print("没有redi_list")