feat: PLC failover state machine with TCP probe
This commit is contained in:
1 parent
feaa4a027a
commit
cf3d482646
3 files changed
+135
-36
No files matched your search
@@ -9,3 +9,12 @@ LOG_LEVEL=1
|
||||
|
||||
# 跳过 PLC 连接(开发时用)
|
||||
# SKIP_PLC=1
|
||||
|
||||
# PLC 连续失败次数上限(超过后进入 TCP 探测模式)
|
||||
PLC_FAIL_LIMIT=3
|
||||
|
||||
# TCP 探测间隔(毫秒,失败后多久检查一次端口)
|
||||
PLC_PROBE_INTERVAL_MS=5000
|
||||
|
||||
# TCP 探测超时(毫秒,每次连接端口等待时间)
|
||||
PLC_PROBE_TIMEOUT_MS=2000
|
||||
Reference in new issue
Block a user