Merge pull request #6677 from baude/pollOnEvents
Poll on events for file reading
This commit is contained in:
		
						commit
						1a2eb3e615
					
				| 
						 | 
				
			
			@ -202,5 +202,5 @@ func (e EventLogFile) getTail(options ReadOptions) (*tail.Tail, error) {
 | 
			
		|||
	if len(options.Until) > 0 {
 | 
			
		||||
		stream = false
 | 
			
		||||
	}
 | 
			
		||||
	return tail.TailFile(e.options.LogFilePath, tail.Config{ReOpen: reopen, Follow: stream, Location: &seek, Logger: tail.DiscardingLogger})
 | 
			
		||||
	return tail.TailFile(e.options.LogFilePath, tail.Config{ReOpen: reopen, Follow: stream, Location: &seek, Logger: tail.DiscardingLogger, Poll: true})
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue