4 Star 0 Fork 3.8K

xty-coding/Admin.NET

forked from zuohuaijun/Admin.NET 
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Cache.json 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
{
"$schema": "https://gitee.com/dotnetchina/Furion/raw/v4/schemas/v4/furion-schema.json",
"Cache": {
"Prefix": "adminnet_", // 全局缓存前缀
"CacheType": "Redis", // Memory、Redis
"Redis": {
"Configuration": "server=redis:6379;password=123456;db=5;", // Redis连接字符串
"Prefix": "adminnet_", // Redis前缀(目前没用)
"MaxMessageSize": "1048576" // 最大消息大小 默认1024 * 1024
}
},
"Cluster": { // 集群配置
"Enabled": true, // 启用集群:前提开启Redis缓存模式
"ServerId": "adminnet", // 服务器标识
"ServerIp": "", // 服务器IP
"SignalR": {
"RedisConfiguration": "redis:6379,ssl=false,password=123456,defaultDatabase=5",
"ChannelPrefix": "signalrPrefix_"
},
"DataProtecteKey": "AdminNet:DataProtection-Keys",
"IsSentinel": false, // 是否哨兵模式
"SentinelConfig": {
"DefaultDb": "4",
"EndPoints": [ // 哨兵端口
// "10.10.0.124:26380"
],
"MainPrefix": "adminNet:",
"Password": "123456",
"SentinelPassword": "adminNet",
"ServiceName": "adminNet",
"SignalRChannelPrefix": "signalR:"
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/xty-coding/Admin.NET.git
git@gitee.com:xty-coding/Admin.NET.git
xty-coding
Admin.NET
Admin.NET
next

搜索帮助