Cluster.json 696 B

123456789101112
  1. {
  2. "$schema": "https://gitee.com/dotnetchina/Furion/raw/v4/schemas/v4/furion-schema.json",
  3. "Cluster": { // 集群配置
  4. "EnableCluster": true, //启用了集群,应该把cache.json也使用redis方式,oss.json中不能使用本地方式保存文件
  5. "ServerId": "Cluster1", //服务器标识,有些接口可能需要记录一下从哪个节点执行的
  6. "ServerIp": "", //服务器IP,有些接口可能需要记录一下从哪个IP执行的,然后调用其它的服务(预留)
  7. "SignalR": { //配置Redis保存Signal的连接信息
  8. "RedisConfiguration": "127.0.0.1:6379,ssl=false,password=,defaultDatabase=5",
  9. "ChannelPrefix": "signalrPrefix_"
  10. }
  11. }
  12. }