Linting and optimizing struct memory signature. (#1184)
* fix cleanPath spell (#969) * linter and optimize structs
This commit is contained in:
		
				
					committed by
					
						
						Bo-Yi Wu
					
				
			
			
				
	
			
			
			
						parent
						
							eeb57848ca
						
					
				
				
					commit
					6f94fd05c9
				
			@ -29,8 +29,8 @@ func statsWorker() {
 | 
			
		||||
			"timestamp":  uint64(time.Now().Unix()),
 | 
			
		||||
			"HeapInuse":  stats.HeapInuse,
 | 
			
		||||
			"StackInuse": stats.StackInuse,
 | 
			
		||||
			"Mallocs":    (stats.Mallocs - lastMallocs),
 | 
			
		||||
			"Frees":      (stats.Frees - lastFrees),
 | 
			
		||||
			"Mallocs":    stats.Mallocs - lastMallocs,
 | 
			
		||||
			"Frees":      stats.Frees - lastFrees,
 | 
			
		||||
			"Inbound":    uint64(messages.Get("inbound")),
 | 
			
		||||
			"Outbound":   uint64(messages.Get("outbound")),
 | 
			
		||||
			"Connected":  connectedUsers(),
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user