Add a comment to that effect
This commit is contained in:
		
							parent
							
								
									f4f18acf88
								
							
						
					
					
						commit
						db19e99095
					
				@ -240,6 +240,9 @@ class Requirement
 | 
				
			|||||||
      end
 | 
					      end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if cache_key.present?
 | 
					      if cache_key.present?
 | 
				
			||||||
 | 
					        # Even though we setup the cache above
 | 
				
			||||||
 | 
					        # 'dependent.recursive_dependencies.map(&:to_formula)'
 | 
				
			||||||
 | 
					        # is invalidating the singleton cache
 | 
				
			||||||
        cache[cache_key] ||= {}
 | 
					        cache[cache_key] ||= {}
 | 
				
			||||||
        cache[cache_key][cache_id dependent] = reqs.dup
 | 
					        cache[cache_key][cache_id dependent] = reqs.dup
 | 
				
			||||||
      end
 | 
					      end
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user