[PATCH compass-ci] git_mirror.rb: delete unnecessary update of es
 
            
            
            
            
                28 Jan
                
                    2021
                
            
            
                28 Jan
                
                '21
                
            
            
            
        
    
                5:30 p.m.
            
        It does not need to update es when init, cause nothing changes yet. And update es here would make git-mirror start slowly. Signed-off-by: Li Yuanchao <lyc163mail@163.com> --- lib/git_mirror.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/git_mirror.rb b/lib/git_mirror.rb index a111e51..2090f6b 100644 --- a/lib/git_mirror.rb +++ b/lib/git_mirror.rb @@ -214,7 +214,6 @@ class MirrorMain @git_info[git_repo]['git_repo'] = git_repo @git_info[git_repo].merge!(@defaults[project]) if @defaults[project] fork_stat_init(git_repo) - es_repo_update(git_repo) @priority_queue.push git_repo, @priority @priority += 1 end -- 2.23.0
        1737
        
      
          Age (days ago)
        
      
        1737
        
    
          Last active (days ago)
        
        
        
        0 comments
    
    
        
        1 participants
    
    
    
    
    
    
    
    
    participants (1)
- 
                 Li Yuanchao Li Yuanchao