Make S3's retry limit a ENV variable (#23215)
This commit is contained in:
		
							parent
							
								
									9e9613b286
								
							
						
					
					
						commit
						773283ffb9
					
				| @ -68,7 +68,7 @@ if ENV['S3_ENABLED'] == 'true' | ||||
|       http_open_timeout: ENV.fetch('S3_OPEN_TIMEOUT') { '5' }.to_i, | ||||
|       http_read_timeout: ENV.fetch('S3_READ_TIMEOUT') { '5' }.to_i, | ||||
|       http_idle_timeout: 5, | ||||
|       retry_limit: 0, | ||||
|       retry_limit: ENV.fetch('S3_RETRY_LIMIT'){ '0' }.to_i, | ||||
|     } | ||||
|   ) | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user