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
@@ -1336,13 +1336,6 @@ class ProcRunner:
|
||||
rbd = 0.0
|
||||
if rbd > 0:
|
||||
cmd += ["--reservation-back-swipe-delay", str(rbd)]
|
||||
# 预约抢占最小价值(GUI 启动时可覆盖)
|
||||
try:
|
||||
rpmin = float(_pick("reservation_preempt_min_value", 0) or 0)
|
||||
except Exception:
|
||||
rpmin = 0.0
|
||||
if rpmin > 0:
|
||||
cmd += ["--reservation-preempt-min-value", str(rpmin)]
|
||||
# 找福袋最大尝试次数(GUI 启动时可覆盖)
|
||||
try:
|
||||
fudai_find_max_attempts = int(_pick("fudai_find_max_attempts", 0) or 0)
|
||||
@@ -1801,7 +1794,6 @@ class Handler(BaseHTTPRequestHandler):
|
||||
"fudai_icon_retry_delay_seconds",
|
||||
"fudai_icon_max_wait_seconds",
|
||||
"reservation_back_swipe_delay",
|
||||
"reservation_preempt_min_value",
|
||||
"high_value_fudai_threshold_yuan",
|
||||
}
|
||||
bool_keys = {
|
||||
|
||||
Reference in new issue
Block a user