Refactor reservation preemption handling and logging
- Removed the reservation preempt minimum value from the Runner and GUI components. - Updated logging mechanism to streamline log message handling and improve readability. - Introduced a new method for appending log lines in the Runner class. - Cleaned up related GUI elements and configuration options in web interface. - Deleted obsolete simulation scripts related to reservation preemption checks.
This commit is contained in:
1 parent
eb96d6869e
commit
93d47a16d6
20 files changed
+786
-1051
No files matched your search
@@ -62,7 +62,6 @@ const DEFAULTS = {
|
||||
// 是否禁用福袋内容OCR识别(仅前端默认,实际值以 config.json 为准)
|
||||
fudai_disable_content_recognition: false,
|
||||
live_room_match_threshold: 0.8,
|
||||
reservation_preempt_min_value: 0,
|
||||
reservation_back_swipe_delay: 0.6,
|
||||
|
||||
// 定时禁抢福袋(默认 2-7 点)
|
||||
@@ -657,7 +656,6 @@ async function startRun() {
|
||||
reservation_back_verify_enabled: cfgPart.reservation_back_verify_enabled,
|
||||
reservation_back_swipe_delay: cfgPart.reservation_back_swipe_delay,
|
||||
fudai_find_max_attempts: cfgPart.fudai_find_max_attempts,
|
||||
reservation_preempt_min_value: cfgPart.reservation_preempt_min_value,
|
||||
});
|
||||
|
||||
// 检查返回结果
|
||||
|
||||
@@ -181,11 +181,6 @@
|
||||
<input id="live_room_match_threshold" class="input" data-key="live_room_match_threshold" data-type="float" type="number" min="0.0" max="1.0" step="0.01" />
|
||||
<div class="hint">模板匹配阈值(0.0~1.0),默认0.8,值越高越严格,建议≥0.8</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<label class="label">预约抢占最小价�?�?</label>
|
||||
<input id="reservation_preempt_min_value" class="input" data-key="reservation_preempt_min_value" data-type="float" type="number" min="0" step="1" />
|
||||
<div class="hint">低于该价值的预约不会抢占当前任务�? 表示任何预约可抢�?/div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="panel" data-panel="filter" role="tabpanel" hidden>
|
||||
|
||||
Reference in new issue
Block a user