File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed 
src/Build.UnitTests/ProjectCache Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ dotnet_diagnostic.CA2014.severity = warning
352352dotnet_diagnostic.CA2015.severity = warning
353353
354354# Forward the 'CancellationToken' parameter to methods that take one
355- dotnet_diagnostic.CA2016.severity = suggestion 
355+ dotnet_diagnostic.CA2016.severity = warning 
356356
357357# Review SQL queries for security vulnerabilities
358358dotnet_diagnostic.CA2100.severity = none
Original file line number Diff line number Diff line change @@ -305,7 +305,7 @@ public override async Task<CacheResult> GetCacheResultAsync(
305305
306306                if  ( _projectQuerySleepTime  is  not null ) 
307307                { 
308-                     await  Task . Delay ( _projectQuerySleepTime . Value ) ; 
308+                     await  Task . Delay ( _projectQuerySleepTime . Value ,   cancellationToken ) ; 
309309                } 
310310
311311                QueryStartStops . Enqueue ( queryId ) ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments