modify 修复前端展示配置与实际插件配置不一致的bug
This commit is contained in:
@@ -13,6 +13,15 @@ json5_path = "./config/zenoh_config.json5"
|
||||
[cache]
|
||||
backend = "sqlite"
|
||||
path = "./cache_data/cache.db"
|
||||
# 配置优先来源模式(同时决定 [workers.config] 与 count 在启动时的取舍):
|
||||
# "cache"(本模板默认)= 以缓存为准:chongming-cache 为单一事实来源,插件初始化即读缓存值,
|
||||
# 管理接口(/admin/workers/<type>/config、/scale)改动跨重启保持;
|
||||
# toml 仅在缓存缺失时引导。启动日志会提示 toml 与缓存的差异键
|
||||
# (以缓存为准);如需让 toml 改动生效,先删除 worker:cm:configs:<type>
|
||||
# (运行时配置)/ worker:cm:counts:<type>(副本数)缓存键再重启。
|
||||
# "toml" = 以文件为准:启动时用 config/workers/<type>/config.toml 的
|
||||
# [workers.config] 与 count 覆盖写入缓存(前端读缓存 → 显示 toml 值);
|
||||
# 管理接口改动仅本次运行有效,重启网关即被文件覆盖。
|
||||
launch_worker_count = "cache"
|
||||
|
||||
[security]
|
||||
|
||||
Reference in New Issue
Block a user