mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-04 07:50:25 +08:00 
			
		
		
		
	集群设置中增加服务设置
This commit is contained in:
		@@ -1090,6 +1090,11 @@ func (this *NodeDAO) ComposeNodeConfig(tx *dbs.Tx, nodeId int64, cacheMap *utils
 | 
			
		||||
			config.Clock = nodeCluster.DecodeClock()
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		// 全局配置
 | 
			
		||||
		if config.GlobalServerConfig == nil {
 | 
			
		||||
			config.GlobalServerConfig = nodeCluster.DecodeGlobalServerConfig()
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		// 最大线程数、TCP连接数
 | 
			
		||||
		if clusterIndex == 0 {
 | 
			
		||||
			config.MaxThreads = int(nodeCluster.NodeMaxThreads)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user