From 99ac9f5528072388a9408cb627703e75e76758ff Mon Sep 17 00:00:00 2001 From: chakcy <947105045@qq.com> Date: Fri, 18 Sep 2026 09:31:53 +0800 Subject: [PATCH] modify: bangze --- config.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config.toml b/config.toml index cf3e7bf..373b7ae 100644 --- a/config.toml +++ b/config.toml @@ -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) # 用该账号密码连接,未配置则保持匿名