mirror of
				https://github.com/TeaOSLab/EdgeNode.git
				synced 2025-11-04 16:00:25 +08:00 
			
		
		
		
	设置文件句柄最大缓存为65535
This commit is contained in:
		@@ -38,6 +38,9 @@ func NewOpenFileCache(maxCount int) (*OpenFileCache, error) {
 | 
			
		||||
	if maxCount <= 0 {
 | 
			
		||||
		maxCount = 16384
 | 
			
		||||
	}
 | 
			
		||||
	if maxCount > 65535 {
 | 
			
		||||
		maxCount = 65535
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	var cache = &OpenFileCache{
 | 
			
		||||
		maxCount:     maxCount,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user