mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-04 07:50:25 +08:00 
			
		
		
		
	自动添加firewalld使用异步
This commit is contained in:
		@@ -577,7 +577,7 @@ func (this *APINode) listenPorts(apiNode *models.APINode) (isListening bool) {
 | 
			
		||||
 | 
			
		||||
	// add to local firewall
 | 
			
		||||
	if len(ports) > 0 {
 | 
			
		||||
		utils.AddPortsToFirewall(ports)
 | 
			
		||||
		go utils.AddPortsToFirewall(ports)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	return
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user