#33

Спојено
jihuaqiang споји(ла) 1 комит(е) из Server/feature_Trigger2 у Server/master пре 3 недеља
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      utils/resetVideosToRadies.py

+ 1 - 1
utils/resetVideosToRadies.py

@@ -19,7 +19,7 @@ def reset_videos_to_radies(day=3):
         dt = (datetime.datetime.now() - datetime.timedelta(days=day)).strftime('%Y%m%d')
         logger.info(f"重置视频到Redis")
         redis_trigger_task = "task:video_trigger_insight"
-        sql =f'select clickobjectid as video_id from loghubods.user_share_log where dt = {dt} and topic = "click" group by clickobjectid order by count(distinct machinecode) desc limit 700 offset 1299'
+        sql =f'select clickobjectid as video_id from loghubods.user_share_log where dt = {dt} and topic = "click" group by clickobjectid order by count(distinct machinecode) desc limit 1300'
         data = OdpsDataCount.main(sql)
         if not data:
             return