mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 04:30:05 +00:00 
			
		
		
		
	Change the AWS connection timeout from 1 second to 10 seconds
This commit is contained in:
		
							parent
							
								
									401831bbe3
								
							
						
					
					
						commit
						3d93048e61
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -64,7 +64,8 @@ public: | |||
|       util::SetEnvironment("AWS_EC2_METADATA_DISABLED", "true"); | ||||
| 
 | ||||
|       Aws::Client::ClientConfiguration config; | ||||
|       config.region = region_; | ||||
|       config.region           = region_; | ||||
|       config.connectTimeoutMs = 10000; | ||||
| 
 | ||||
|       client_ = std::make_shared<Aws::S3::S3Client>(config); | ||||
|    } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat