baichongyang 1 éve
szülő
commit
50be40f5d6

+ 1 - 1
ad_out_v1_get_offline_score_item_new.py

@@ -266,7 +266,7 @@ def timer_check(dt):
             # 数据没准备好,5分钟后重新检查
             wait_seconds = 5 * 60
             log_.info('data not ready, wait {}s'.format(wait_seconds))
-            Timer(wait_seconds, timer_check, args=(dt)).start()
+            Timer(wait_seconds, timer_check, args=(dt,)).start()
 
     except Exception as e:
         log_.error(f"用户广告跳出率预估离线item数据更新失败 exception: {e}, traceback: {traceback.format_exc()}")

+ 1 - 1
ad_out_v1_get_offline_score_user_new.py

@@ -266,7 +266,7 @@ def timer_check(dt):
             # 数据没准备好,5分钟后重新检查
             wait_seconds = 5 * 60
             log_.info('data not ready, wait {}s'.format(wait_seconds))
-            Timer(wait_seconds, timer_check, args=(dt)).start()
+            Timer(wait_seconds, timer_check, args=(dt,)).start()
 
     except Exception as e:
         log_.error(f"用户广告跳出率预估离线user数据更新失败 exception: {e}, traceback: {traceback.format_exc()}")