modify: bangze
This commit is contained in:
+4
-4
@@ -11,8 +11,8 @@ upload_path = "uploads"
|
||||
json5_path = "./config/zenoh_config.json5"
|
||||
|
||||
[cache]
|
||||
# backend = "sqlite" # "sqlite"(默认,本机共享) | "redis"(跨主机)
|
||||
backend = "redis"
|
||||
backend = "sqlite" # "sqlite"(默认,本机共享) | "redis"(跨主机)
|
||||
# backend = "redis"
|
||||
# path = "./cache_data/cache.db"
|
||||
|
||||
# 配置优先来源模式(同时决定 [workers.config] 与 count 在启动时的取舍):
|
||||
@@ -78,8 +78,8 @@ port = 1883
|
||||
# true (默认)= 网关自带 amqtt Broker,host/port 为 Broker 监听地址
|
||||
# false = 使用外部 MQTT Broker,网关仅启动 Bridge 客户端连接
|
||||
# host/port 需指向外部 Broker 地址(如 "192.168.1.10")
|
||||
# use_embedded_broker = true
|
||||
use_embedded_broker = false
|
||||
use_embedded_broker = true
|
||||
# use_embedded_broker = false
|
||||
# MQTT Broker 认证(可选,默认匿名):
|
||||
# - 内嵌 Broker(use_embedded_broker=true):配置后要求所有客户端(含网关 Bridge)
|
||||
# 用该账号密码连接,未配置则保持匿名
|
||||
|
||||
Reference in New Issue
Block a user