⚡️ fix update delay
This commit is contained in:
		
							parent
							
								
									fe5cfeb12a
								
							
						
					
					
						commit
						7ead75e669
					
				@ -41,7 +41,7 @@ var (
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
func doSelfUpdate() {
 | 
					func doSelfUpdate() {
 | 
				
			||||||
	defer func() {
 | 
						defer func() {
 | 
				
			||||||
		time.Sleep(time.Second * 3)
 | 
							time.Sleep(time.Minute * 20)
 | 
				
			||||||
		updateCh <- struct{}{}
 | 
							updateCh <- struct{}{}
 | 
				
			||||||
	}()
 | 
						}()
 | 
				
			||||||
	v := semver.MustParse(version)
 | 
						v := semver.MustParse(version)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user