mirror of
				https://github.com/minio/minio.git
				synced 2025-10-29 15:55:00 -04:00 
			
		
		
		
	Update LastUpdate timestamp before save (#10152)
This commit is contained in:
		
							parent
							
								
									6669560cb9
								
							
						
					
					
						commit
						f7259adf83
					
				| @ -298,6 +298,7 @@ func (fs *FSObjects) CrawlAndGetDataUsage(ctx context.Context, bf *bloomFilter, | ||||
| 		if intDataUpdateTracker.debug { | ||||
| 			logger.Info(color.Green("CrawlAndGetDataUsage:")+" Saving totals cache with %d entries", len(totalCache.Cache)) | ||||
| 		} | ||||
| 		totalCache.Info.LastUpdate = time.Now() | ||||
| 		logger.LogIf(ctx, totalCache.save(ctx, fs, dataUsageCacheName)) | ||||
| 		cloned := totalCache.clone() | ||||
| 		updates <- cloned.dui(dataUsageRoot, buckets) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user