forked from an/flokati
		
	rss.go
This commit is contained in:
		
							parent
							
								
									ebd9b21ade
								
							
						
					
					
						commit
						6a01d789b6
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -44,7 +44,9 @@ func rssRun() {
 | 
			
		|||
		xlog.Fatal(err.Error())
 | 
			
		||||
	}
 | 
			
		||||
	go func() {
 | 
			
		||||
		time.Sleep(900 * time.Second)
 | 
			
		||||
		// Suppress output of new items for 15 minutes after startup
 | 
			
		||||
		// in order to prevent spam.
 | 
			
		||||
		time.Sleep(15 * time.Minute)
 | 
			
		||||
		hideOutput = false
 | 
			
		||||
	}()
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue