modify: aibox_sophon_adapter
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
[worker]
|
||||
name = "aibox_sophon_adapter"
|
||||
version = "0.1.0"
|
||||
description = "AI Box Sophon 设备适配器 — MQTT 心跳上报与设备状态监控"
|
||||
config_version = "1.0"
|
||||
defaults = { method = "GET", timeout = 30, auth_required = false, cacheable = false, internal = false }
|
||||
|
||||
[worker.registration]
|
||||
router_prefix = "/aibox"
|
||||
tags = ["aibox", "sophon", "adapter"]
|
||||
|
||||
# 心跳超时配置(秒),超过此时间未收到心跳视为离线
|
||||
[worker.heartbeat]
|
||||
interval = 5 # 设备上报间隔(秒)
|
||||
timeout = 15 # 超时阈值(秒),超过此时间未收到心跳视为离线
|
||||
check_interval = 10 # 服务端检查离线设备的间隔(秒)
|
||||
Reference in New Issue
Block a user