feat: 调整高价值福袋参与阈值,优化预约逻辑以提升用户体验
This commit is contained in:
1 parent
1283645b75
commit
3fbd2b2d85
3 files changed
+14
-12
No files matched your search
@@ -1089,7 +1089,9 @@ def process_reservation_attend_window(
|
||||
|
||||
# 用于锁定期判断/匹配的轮询提前量(允许为 0,禁止为负数)
|
||||
try:
|
||||
poll_before = 0.0
|
||||
poll_before = float(
|
||||
getattr(analyser, "high_value_fudai_poll_before_seconds", 10.0) or 10.0
|
||||
)
|
||||
except Exception:
|
||||
poll_before = 10.0
|
||||
poll_before = max(0.0, poll_before)
|
||||
@@ -1335,10 +1337,10 @@ def process_reservation_attend_window(
|
||||
# 仅在"即将开奖窗口"(包括已过一小段时间)内才触发回退
|
||||
try:
|
||||
join_ahead = float(
|
||||
getattr(analyser, "high_value_fudai_join_ahead_seconds", 120) or 120
|
||||
getattr(analyser, "high_value_fudai_join_ahead_seconds", 100) or 100
|
||||
)
|
||||
except Exception:
|
||||
join_ahead = 120.0
|
||||
join_ahead = 100.0
|
||||
|
||||
# poll_before 已在函数前部统一计算
|
||||
|
||||
|
||||
Reference in new issue
Block a user