mirror of
				https://github.com/minio/minio.git
				synced 2025-10-29 15:55:00 -04:00 
			
		
		
		
	to turn-off healing drop legacy ENV (#20315)
This commit is contained in:
		
							parent
							
								
									c28f09d4a7
								
							
						
					
					
						commit
						006cacfefb
					
				| @ -384,8 +384,7 @@ func initAutoHeal(ctx context.Context, objAPI ObjectLayer) { | ||||
| 	} | ||||
| 
 | ||||
| 	initBackgroundHealing(ctx, objAPI) // start quick background healing | ||||
| 
 | ||||
| 	if env.Get("_MINIO_AUTO_DRIVE_HEALING", config.EnableOn) == config.EnableOn || env.Get("_MINIO_AUTO_DISK_HEALING", config.EnableOn) == config.EnableOn { | ||||
| 	if env.Get("_MINIO_AUTO_DRIVE_HEALING", config.EnableOn) == config.EnableOn { | ||||
| 		globalBackgroundHealState.pushHealLocalDisks(getLocalDisksToHeal()...) | ||||
| 		go monitorLocalDisksAndHeal(ctx, z) | ||||
| 	} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user