Increased from 200 nano to milliseconds
This commit is contained in:
		@@ -109,9 +109,10 @@ func ReadMessages(conn net.Conn) (msgs []*Msg, err error) {
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		fmt.Println(n, len(buff))
 | 
			
		||||
		if n == 0 && len(buff) == 0 {
 | 
			
		||||
			// If there's nothing on the wire wait for a bit
 | 
			
		||||
			time.Sleep(200)
 | 
			
		||||
			time.Sleep(200 * time.Millisecond)
 | 
			
		||||
 | 
			
		||||
			continue
 | 
			
		||||
		}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user