|
@@ -517,7 +517,7 @@ def _process_one_task(row, runner):
|
|
|
return None
|
|
return None
|
|
|
|
|
|
|
|
drop_price_sample_size = int(task.get("drop_price_sample_size", "0"))
|
|
drop_price_sample_size = int(task.get("drop_price_sample_size", "0"))
|
|
|
- if drop_price_sample_size < 2: # 丢弃历史降价样本数过少(小于2)的
|
|
|
|
|
|
|
+ if drop_price_sample_size < 1: # 丢弃历史降价样本数过少(小于1)的
|
|
|
return None
|
|
return None
|
|
|
|
|
|
|
|
flight_day = task.get("flight_day")
|
|
flight_day = task.get("flight_day")
|